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

npm run build:electron出错 #9

Open
linchenxuan opened this issue Aug 18, 2023 · 0 comments
Open

npm run build:electron出错 #9

linchenxuan opened this issue Aug 18, 2023 · 0 comments

Comments

@linchenxuan
Copy link

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 'to'. These properties are valid:
    object { patterns, options? }
    ValidationError: Invalid options object. Copy Plugin has been initialized using an options object that does not match the API schema.
    at validate (/home/lcx/XiaoMu-PosSystem/client/node_modules/copy-webpack-plugin/node_modules/schema-utils/dist/validate.js:158:11)
    at new CopyPlugin (/home/lcx/XiaoMu-PosSystem/client/node_modules/copy-webpack-plugin/dist/index.js:172:5)
    at Object. (/home/lcx/XiaoMu-PosSystem/client/webpack/webpack.common.js:84:9)
    at Module._compile (/home/lcx/XiaoMu-PosSystem/client/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:14)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (/home/lcx/XiaoMu-PosSystem/client/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object. (/home/lcx/XiaoMu-PosSystem/client/webpack/webpack.electron.js:1:78)
    at Module._compile (/home/lcx/XiaoMu-PosSystem/client/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:14)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (/home/lcx/XiaoMu-PosSystem/client/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
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