Storybook: No matching version found for @storybook/[email protected]

Created on 31 Oct 2018  路  7Comments  路  Source: storybookjs/storybook

Describe the bug
Internal deps versions was not updated in 4.0.1 release

To Reproduce
Steps to reproduce the behavior:

  1. install storybook versions like ^4.0.0
  "devDependencies": {
    "@storybook/addon-actions": "^4.0.0",
    "@storybook/addon-links": "^4.0.0",
    "@storybook/addon-options": "^4.0.0",
    "@storybook/addons": "^4.0.0",
    "@storybook/react": "^4.0.0",
  1. See error in console:
Command failed: npm install 
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @storybook/[email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of '@storybook/core'
npm ERR! notarget

Expected behavior
Success install

bug

Most helpful comment

Looks like an NPM failure. Please try 4.0.2, which I just published and did a quick sanity check on.

All 7 comments

+1. Same here. Using fix version of storybook 4.0.0 can resolve the issue.

Looking into it, thanks for letting me know!

+1 I have to lock my version to 4.0.0

Looks like an NPM failure. Please try 4.0.2, which I just published and did a quick sanity check on.

@shilman I Have the same error but with 5.3.13 version

In package.json:
"@storybook/addon-actions": "^5.3.13",
"@storybook/addon-links": "^5.3.13",
"@storybook/react": "^5.3.13"

The error in console:
npm ERR! notarget No matching version found for @storybook/[email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of '@storybook/react'
npm ERR! notarget

@misolo looks like an NPM bug. can you clear your cache and try again?

https://www.npmjs.com/package/@storybook/node-logger

Resolved by upgrading @storybook/react to 5.3.14

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tlrobinson picture tlrobinson  路  3Comments

rpersaud picture rpersaud  路  3Comments

ZigGreen picture ZigGreen  路  3Comments

shilman picture shilman  路  3Comments

xogeny picture xogeny  路  3Comments