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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack-cli@3.3.1 postinstall: node ./bin/opencollective.js npm ERR! Exit status 134 #878

Closed
Hethsron opened this issue May 4, 2019 · 12 comments

Comments

@Hethsron
Copy link

Hethsron commented May 4, 2019

Describe the bug

A 馃挴 way to do this is to provide your configuration via a GitHub gist and/or to use markdown when describing which commands you used when the error occurred! Be precise and clear in your description of the bug.

What is the current behavior?

This is where you elaborate on the current behavior of the cli, how it behaves normally differing from the previous version/build you did.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Please paste the results of webpack-cli info here, and mention other relevant information

Additional context
Add any other context about the problem here like linking to an similar issue you might think is the cause.

@Hethsron
Copy link
Author

Hethsron commented May 4, 2019

@okonet Hi

I try to install webpack-cli but i have this error 馃憥
Aborted
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! webpack-cli@3.3.1 postinstall: node ./bin/opencollective.js
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the webpack-cli@3.3.1 postinstall 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:

What can i do to solve this problem?

@misterdev
Copy link
Contributor

Hi, thanks for reporting this. In order to understand what's the problem please fill the template provided when you created the issue.
The first message of this conversation is the template I'm talking about, you can edit it

Also, please provide a repository to reproduce the error.

Thanks :)

@evenstensberg
Copy link
Member

Could you give a complete stack trace after removing node modules and running npm install again?

@evenstensberg
Copy link
Member

webpack-cli v.3.2.2 comes with a fix for this.

@okonet
Copy link
Contributor

okonet commented May 4, 2019

Repo orgs: Can someone remove me from the project. I鈥檓 reviving too many emails and I鈥檓 not even working on it. Thanks!

Everyone else: please don鈥檛 mention people in issues if this isn鈥檛 really necessary.

@evenstensberg
Copy link
Member

Will do this tomorrow Andrey. Hope you鈥檙e doing well! 馃

@dev-xror
Copy link

@evenstensberg I'm getting the same error when trying to install webpack-cli globally... there's no specific errors to check.. I tried different approach but with no luck... please help. :(

image

@misterdev
Copy link
Contributor

Hi @dev-xror, thanks for reporting this, could you please open a new Issue?

Also:

Could you give a complete stack trace after removing node modules and running npm install again?

@wing324
Copy link

wing324 commented Jun 6, 2019

Does it fixed? I am using webpack-cli 3.3.2 now, but I still get the same error
$ npm install --save-dev webpack-cli

webpack-cli@3.3.2 postinstall D:\mygithub\Wcoding\webpack\webpack-demo\node_modules\webpack-cli
node ./bin/opencollective.js

'node' 鈻掆枓鈻掆枓鈻捼测枓鈻掆枓鈻掆部鈻掆枓鈻掝,也鈻掆枓鈻捛库枓鈻掆枓鈻捫的斥枓鈻掆枓
鈻掆枓鈻掆枓鈻掆枓鈻掆枓鈻捘尖枓鈻掆枓
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! webpack-cli@3.3.2 postinstall: node ./bin/opencollective.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the webpack-cli@3.3.2 postinstall 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\Administrator\AppData\Roaming\npm-cache_logs\2019-06-06T19_26_21_251Z-debug.log

@misterdev
Copy link
Contributor

The most updated conversation about this is #870:

  1. remove webpack-cli from your pkg json
  2. rm -rf node_modules package-lock.json && npm install && npm install --save-dev webpack-cli

@wing324
Copy link

wing324 commented Jun 7, 2019

The most updated conversation about this is #870:

  1. remove webpack-cli from your pkg json
  2. rm -rf node_modules package-lock.json && npm install && npm install --save-dev webpack-cli

Hi,
Thank you for your reply. I did what you said, but it still the same error. If you could help me, I would really appreciate it.

@misterdev
Copy link
Contributor

Hi! v3.3.3 has just been released with a fix for this. I suggest you to try it and if you still have this problem you can open a new detailed issue :)

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

6 participants