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.

Invalid name: "@kadira/storybook" when installing package with npm

See original GitHub issue

When I try to install the package with npm version 3.8.3, I get the following error:

Invalid name: "@kadira/storybook"

Have seen that before?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
arunodacommented, Apr 2, 2016

It seems like you guys are using a NPM mirror registry. See here: https://github.com/kadirahq/react-storybook/issues/15

0reactions
atfzlcommented, Jan 3, 2017

I am not sure what is the reason but it works for me if node is installed through nvm. It gives error if I use the node distribution from https://nodejs.org/en/.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm init error: Invalid name: "donn&jul" - Stack Overflow
From the official NPM reference: The name ends up being part of a URL, an argument on the command line, and a folder...
Read more >
Common errors | npm Docs
Check npm's proxy configuration. Check that it's not a problem with a package you're trying to install (e.g. invalid package.json ).
Read more >
npm-install - npm Docs
Install a package under a custom alias. Allows multiple versions of a same-name package side-by-side, more convenient import names for packages with ...
Read more >
npm-publish - npm Docs
Description. Publishes a package to the registry so that it can be installed by name. By default npm will publish to the public...
Read more >
replace - npm
Invalid switch - -h No files replaced ... npm install replace -g ... Replace only in files with names matching *.js: replace 'foo'...
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