-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
v3.0.0-alpha.0 - shows the following error when getstorybook is run on a project #1053
Comments
Please suggest how can I downgrade to a previous version. |
@Nosherwan try this: https://storybooks.js.org/docs/react-storybook/basics/quick-start-guide/ If you use Let me know if that doesn't work for you! |
Unfortunately it didn't either. I have tried those instructions. Any other suggestions are welcome.
|
I can also confirm that the standard command |
It tries to install a version of I manually added the actual published dependencies to my package.json, ran {
"devDependencies": {
"@storybook/addon-actions": "^3.0.0-alpha.0",
"@storybook/addon-links": "^3.0.0-alpha.0",
"@storybook/react": "^3.0.0-alpha.0"
}
} |
Maybe it's a bit confusing that the npm packages If you |
Is that logged anywhere @ndelangen? |
FYI check your package.json and remove any additions before rerunning |
What @emilong said, and I had to remove the .storybook dir |
Thanks everyone for the suggestions. @ajhyndman & @emilong's suggestions worked and I can revert now to getstorybook. |
This should be fixed in |
getstorybook - the simplest way to add a storybook to your project.
• Detecting project type. ✓
• Adding storybook support to your "Webpack React" app. ✓
• Preparing to install dependencies. ✓
npm ERR! Darwin 16.6.0
npm ERR! argv "/Users/nosh/.nvm/versions/node/v7.3.0/bin/node" "/Users/nosh/.nvm/versions/node/v7.3.0/bin/npm" "install"
npm ERR! node v7.3.0
npm ERR! npm v3.10.10
npm ERR! code ETARGET
npm ERR! notarget No compatible version found: @storybook/react@^2.21.0
npm ERR! notarget Valid install targets:
npm ERR! notarget 3.0.0-alpha.0
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
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 'sws-storybook-app'
npm ERR! notarget
npm ERR! Please include the following file with any support request:
npm ERR! /Users/nosh/simplywallst/sws-storybook-app/npm-debug.log
• Installing dependencies. ✖
The text was updated successfully, but these errors were encountered: