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

Bug: installing @storybook/react fails on Ubuntu 18.04 #3523

Closed
aewing opened this issue May 2, 2018 · 1 comment
Closed

Bug: installing @storybook/react fails on Ubuntu 18.04 #3523

aewing opened this issue May 2, 2018 · 1 comment

Comments

@aewing
Copy link

aewing commented May 2, 2018

Bug or support request summary

Attempted to install @storybook/react on Ubuntu 18.04 using node v8.9.3 (nvm).
Expected installation to succeed, but was instead presented with an ENOENT error for detect-port

Steps to reproduce

In a fresh project on Ubuntu 18.04:
npm i @storybook/react --save-dev

Please specify which version of Storybook and optionally any affected addons that you're running

  • @storybook/react: 3.1.8, 3.4.3

Affected platforms

Ubuntu 18.04
Node v8.9.3
npm 5.5.1
nvm 0.33.9

Full error message

npm ERR! path /projects/storybook/node_modules/detect-port-alt/bin/detect-port
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/projects/storybook/node_modules/detect-port-alt/bin/detect-port'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/aewing/.npm/_logs/2018-05-02T23_44_28_477Z-debug.log
@aewing
Copy link
Author

aewing commented May 2, 2018

I suspect this may be an NPM issue, as I was able to install successfully after installing npm v6.0 with:

$ npm i -g npm

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