Skip to content
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

"npx -p @storybook/cli sb init --type react" => error "Cannot create property 'dependencies' on boolean 'false'" #9161

Closed
stephane-klein opened this issue Dec 16, 2019 · 1 comment

Comments

@stephane-klein
Copy link

On OSX:

$ node --version
v13.3.0
$ npx --version
6.13.2

If I follow this doc, I have this error:

$ npx -p @storybook/cli sb init --type react

 sb init - the simplest way to add a storybook to your project.

 • Installing Storybook for user specified project type. ✓
 • Adding storybook support to your "React" app
     TypeError: Cannot create property 'dependencies' on boolean 'false'
    at default (/Users/stephane/.npm/_npx/9990/lib/node_modules/@storybook/cli/generators/REACT/index.js:24:28)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Best regards,
Stéphane

@pocka
Copy link
Contributor

pocka commented Dec 27, 2019

Duplicate of #6002

That issue is still opened but I think it's already fixed in v5.3.0-rc. (#8205 )

@pocka pocka closed this as completed Dec 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants