Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue raised when npm run dev #41

Open
ZhangDoubleZheng opened this issue Oct 31, 2023 · 2 comments
Open

issue raised when npm run dev #41

ZhangDoubleZheng opened this issue Oct 31, 2023 · 2 comments

Comments

@ZhangDoubleZheng
Copy link

ZhangDoubleZheng commented Oct 31, 2023

` folio-2019-master npm run dev

[email protected] dev
webpack-dev-server --config ./bundler/webpack.dev.js

/Users/rzhang1/Downloads/folio-2019-master/node_modules/copy-webpack-plugin/node_modules/schema-utils/dist/validate.js:158
throw new _ValidationError.default(errors, schema, configuration);
^

ValidationError: Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema.

  • options[0] has an unknown property 'from'. These properties are valid:
    object { patterns, options? }
    at validate (/Users/rzhang1/Downloads/folio-2019-master/node_modules/copy-webpack-plugin/node_modules/schema-utils/dist/validate.js:158:11)
    at new CopyPlugin (/Users/rzhang1/Downloads/folio-2019-master/node_modules/copy-webpack-plugin/dist/index.js:172:5)
    at Object. (/Users/rzhang1/Downloads/folio-2019-master/bundler/webpack.common.js:15:9)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object. (/Users/rzhang1/Downloads/folio-2019-master/bundler/webpack.dev.js:2:29) {
    errors: [
    {
    instancePath: '[0]',
    schemaPath: '#/additionalProperties',
    keyword: 'additionalProperties',
    params: { additionalProperty: 'from' },
    message: 'must NOT have additional properties',
    schema: false,
    parentSchema: {
    definitions: {
    ObjectPattern: {`
@ZhangDoubleZheng
Copy link
Author

node version 16.20

@ZhangDoubleZheng
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant