Storybook: StoryBook CLI init fails on v5.3.0

Created on 11 Jan 2020  路  3Comments  路  Source: storybookjs/storybook

Describe the bug

StoryBook CLI init (npx -p @storybook/cli sb init --type react_scripts) did not execute successfully.

To Reproduce

Steps to reproduce the behavior:

  1. Initialize a directory with create-react-app.
  2. Initialize storybook to above directory with npx -p @storybook/cli sb init --type react_scripts.
  3. See error

Expected behavior

StoryBook should be successfully installed.

Screenshots

error

Code snippets

n/a

System:

Can't execute npx -p @storybook/cli@next sb info because there is a same error as current issue. But let me summarize it manually.

System: Ubuntu 18.04 LTS x86_64
CPU: Intel i7 8th Generation 8750H - 6 cores 6 threads
Node: Node 12.14.1
Yarn: 1.21.1
NPM: 6.13.6
Chrome: 79.0.3945.117 (Official Build) (64-bit)

Additional context

n/a

bug cli needs reproduction

Most helpful comment

@jeffryang24 Not able to reproduce. Can you check your network connection, clear your cache, and try again?

All 3 comments

@jeffryang24 Not able to reproduce. Can you check your network connection, clear your cache, and try again?

Ok, will try to clear cache and use another network connection. :bowing_man:

Yes, seems like my home connection is weird today. Just tested with my office VPN and it worked perfectly. Sorry for bothering the weekend. :bowing_man: Case closes... hahaha... I wait this version since last December, so I want to use it asap... hahaha...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Olian04 picture Olian04  路  78Comments

moimikey picture moimikey  路  67Comments

bpeab picture bpeab  路  70Comments

maraisr picture maraisr  路  119Comments

hansthinhle picture hansthinhle  路  57Comments