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

Error when “npm run build” #88

Closed
sunscheung opened this issue Jan 15, 2020 · 3 comments
Closed

Error when “npm run build” #88

sunscheung opened this issue Jan 15, 2020 · 3 comments

Comments

@sunscheung
Copy link

Here is my Error report :

ERROR in [copy-webpack-plugin] unable to locate './app/resource/dll' at 'D:\code\study\app\resource\dll'
Child html-webpack-plugin for "index.html":

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! react-admin@0.1.0 build: `cross-env NODE_ENV=production webpack --config ./scripts/webpack.prod.config.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the react-admin@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!  C:\Users\test\AppData\Roaming\npm-cache\_logs\2020-01-15T08_47_57_320Z-debug.log
@sunscheung
Copy link
Author

@duxianwei520

@duxianwei520
Copy link
Owner

@sunscheung 我刚才自己试过了,没问题的,如果是报dll错误,那你需要提前npm run dll一下就可以了

@duxianwei520
Copy link
Owner

@sunscheung 你可以再更新一下,我把dlll相关的去掉了

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

2 participants