question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How can I install storybook via npm?

See original GitHub issue

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/<user>/projects/<project>/npm-debug.log`

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

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

9reactions
yahuiocommented, 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
0reactions
arunodacommented, Apr 20, 2016

Ah got it. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install Storybook
Install Storybook · Install the required dependencies. · Setup the necessary scripts to run and build Storybook. · Add the default Storybook configuration ......
Read more >
storybook - npm
Storybook CLI. Latest version: 6.5.15, last published: 5 days ago. Start using storybook in your project by running `npm i storybook`.
Read more >
@storybook/react - npm
Start using @storybook/react in your project by running `npm i @storybook/react`. ... Install. npm i @storybook/react ...
Read more >
@storybook/cli - npm
Start using @storybook/cli in your project by running `npm i @storybook/cli`. There are 126 other projects ... Install. npm i @storybook/cli ...
Read more >
@storybook/components - npm
Start using @storybook/components in your project by running `npm i @storybook/components`. ... Install. npm i @storybook/components ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found