You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following "Setup React Storybook" part of "Storybook for React tutorial"
"npx create-react-app taskbox" is fine,
I create my app successfully and use "cd taskbox" go into the project folder
finally, run 'npx -p @storybook/cli sb init' and it failed
error log below
0 info it worked if it ends with ok
1 verbose cli [ 'G:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'G:\\Program Files\\nodejs\\npm_global_modules\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '@storybook/cli@latest',
1 verbose cli '--global',
1 verbose cli '--prefix',
1 verbose cli 'G:\\Program',
1 verbose cli 'File\\nodejs\\nodeCache\\_npx\\8000',
1 verbose cli '--loglevel',
1 verbose cli 'error',
1 verbose cli '--json' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 984f11d552d3a58a
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData error for file:File\nodejs\nodeCache\_npx\8000 Could not install from "File\nodejs\nodeCache\_npx\8000" as it does not contain a package.json file.
8 http fetch GET 304 http://registry.npmjs.org/@storybook%2fcli 813ms (from cache)
9 silly pacote tag manifest for @storybook/cli@latest fetched in 844ms
10 timing stage:rollbackFailedOptional Completed in 1ms
11 timing stage:runTopLevelLifecycles Completed in 854ms
12 verbose stack Error: ENOENT: no such file or directory, open 'G:\project\workplace\taskbox\File\nodejs\nodeCache\_npx\8000\package.json'
13 verbose cwd G:\project\workplace\taskbox
14 verbose Windows_NT 10.0.17763
15 verbose argv "G:\\Program Files\\nodejs\\node.exe" "G:\\Program Files\\nodejs\\npm_global_modules\\node_modules\\npm\\bin\\npm-cli.js" "install" "@storybook/cli@latest" "--global" "--prefix" "G:\\Program" "File\\nodejs\\nodeCache\\_npx\\8000" "--loglevel" "error" "--json"
16 verbose node v10.13.0
17 verbose npm v6.13.6
18 error code ENOLOCAL
19 error Could not install from "File\nodejs\nodeCache\_npx\8000" as it does not contain a package.json file.
20 verbose exit [ 1, true ]
it seems like the "file" doesn't exist and I confused by "File\nodejs\nodeCache_npx\8224" also "G:\project\workplace\taskbox\File\nodejs\nodeCache_npx\8000\package.json".
The text was updated successfully, but these errors were encountered:
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!
I was following "Setup React Storybook" part of "Storybook for React tutorial"
"npx create-react-app taskbox" is fine,
I create my app successfully and use "cd taskbox" go into the project folder
finally, run 'npx -p @storybook/cli sb init' and it failed
error log below
it seems like the "file" doesn't exist and I confused by "File\nodejs\nodeCache_npx\8224" also "G:\project\workplace\taskbox\File\nodejs\nodeCache_npx\8000\package.json".
The text was updated successfully, but these errors were encountered: