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

build错误 #1

Open
zhengshifei opened this issue Aug 15, 2018 · 0 comments
Open

build错误 #1

zhengshifei opened this issue Aug 15, 2018 · 0 comments

Comments

@zhengshifei
Copy link

ubuntu16.04下编译有问题,windows环境正常

[email protected] postinstall /root/src/vue-node-blog/node_modules/webpack/node_modules/uglifyjs-webpack-plugin
node lib/post_install.js

module.js:549
throw err;
^

Error: Cannot find module '/root/src/vue-node-blog/node_modules/webpack/node_modules/uglifyjs-webpack-plugin/lib/post_install.js'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
npm WARN [email protected] No repository field.
npm WARN The package babel-polyfill is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node lib/post_install.js
npm ERR! Exit status 1
npm ERR!

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