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

How can I install storybook via npm? #122

Closed
ghost opened this issue Apr 19, 2016 · 6 comments
Closed

How can I install storybook via npm? #122

ghost opened this issue Apr 19, 2016 · 6 comments

Comments

@ghost
Copy link

ghost commented Apr 19, 2016

Here is the error message:

`npm i --save-dev @kadira/storybook
npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/Cellar/nvm/0.30.1/versions/node/v5.9.1/bin/node" "/usr/local/opt/nvm/versions/node/v5.9.1/bin/npm" "i" "--save-dev" "@kadira/storybook"
npm ERR! node v5.9.1
npm ERR! npm v3.7.3
npm ERR! code E403

npm ERR! unregistered users are not allowed to access package @kadira/storybook : @kadira/storybook
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /Users//projects//npm-debug.log`

What doesn't this repo to be published to a better named repo, say 'react-storybook'?

@arunoda
Copy link
Member

arunoda commented Apr 19, 2016

Check this: https://github.com/kadirahq/react-storybook/blob/master/docs/known_issues.md#npm-404-error

May be you are using an NPM proxy.

@ghost
Copy link
Author

ghost commented Apr 20, 2016

It has been fixed now. Thank you.

@ghost ghost closed this as completed Apr 20, 2016
@arunoda
Copy link
Member

arunoda commented Apr 20, 2016

@yhjor1212 Could you update on how you get it fixed?

@ghost
Copy link
Author

ghost commented Apr 20, 2016

I just disabled the registry and reinstall again. After the installation I enabled it again.

@arunoda
Copy link
Member

arunoda commented Apr 20, 2016

Ah got it.
Thanks.

@yahuio
Copy link

yahuio commented May 4, 2016

The solution is to set a registry for modules of specific scope. You can add the following to your project's .npmrc file

@kadira:registry=https://registry.npmjs.org

cristiancedenogallego added a commit to cristiancedenogallego/react-cdk that referenced this issue Jun 12, 2016
jribeiro pushed a commit to jribeiro/storybook that referenced this issue Jul 18, 2017
* Support show docgen prop description

* Update to comply PR

* Update Readme + Example

* Refactor to comply #PR122
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants