Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

From a fresh install, uglifyjs-webpack-plugin@0.4.6 postinstall error prevents from installing webpack #127

Closed
ea167 opened this issue Sep 20, 2017 · 1 comment

Comments

@ea167
Copy link

ea167 commented Sep 20, 2017

Hello,

From a fresh install, with npm cache cleaned, etc.
When I try to install webpack (v3.6.0) I get the error:

uglifyjs-webpack-plugin@0.4.6 postinstall /root/EVGIT/audio-bo-client/node_modules/webpack/node_modules/uglifyjs-webpack-plugin
node lib/post_install.js

module.js:491
throw err;
^

Error: Cannot find module '/root/EVGIT/audio-bo-client/node_modules/webpack/node_modules/uglifyjs-webpack-plugin/lib/post_install.js'
at Function.Module._resolveFilename (module.js:489:15)
at Function.Module._load (module.js:439:25)
at Function.Module.runMain (module.js:609:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:598:3

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! uglifyjs-webpack-plugin@0.4.6 postinstall: node lib/post_install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the uglifyjs-webpack-plugin@0.4.6 postinstall script.

npm 5.3.0 on centos7

Thank you for your help.

@michael-ciniawsky
Copy link
Member

Yep, it's know issue please consider using the current beta instead npm i -D uglifyjs-webpack-plugin@beta

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

No branches or pull requests

2 participants