Repository: storybook
Issue: [Bug]: Failed creating a repro
Labels: bug,needs triage

### Describe the bug

I had another issue in mind, but as I was trying to create a repro, I stumbled an error:
<img width="1099" alt="Screen Shot 2022-11-12 at 16 55 23" src="https://user-images.githubusercontent.com/72258277/201479972-eac03624-0457-4445-9f86-ca9e7de36a8d.png">

I guess it's something to do with you not producing a version in your generated `package.json`.
 


### To Reproduce

```shell
run `npx sb@next repro`
Select repro renderer: `react`
Select the repro base template: `react_typescript`
Enter a directory name (mine was `vite-storybook-init-repro`)
```


### System

```shell
╭──────────────────────────────────────────────────────────────────────────────╮│                                                                              ││   🤗 Welcome to sb repro! 🤗                                                 ││                                                                              ││   Create a new project to minimally reproduce Storybook issues.              ││                                                                              ││   1. select an environment that most closely matches your project setup.     ││   2. select a location for the reproduction, outside of your project.        ││                                                                              ││   After the reproduction is ready, we'll guide you through the next steps.   ││                                                                              │╰──────────────────────────────────────────────────────────────────────────────╯
✔ 🌈 Select the repro renderer › react
✔ 📝 Select the repro base template › react_typescript
✔ Enter the output directory … vite-storybook-init-repro
🏃 Running react_typescript into /Users/matanelgordon/Desktop/repros/vite-storybook-init-repro

🏃 Starting for react_typescript latest

🏗 Bootstrapping react_typescript project (this might take a few minutes)
mkdir vite-storybook-init-repro && cd vite-storybook-init-repro && touch yarn.lock && yarn init --yes && yarn add react react-dom
yarn init v1.22.19
warning The yes flag has been set. This will automatically answer yes to all questions, which may have security implications.
warning The yes flag has been set. This will automatically answer yes to all questions, which may have security implications.
success Saved package.json
Done in 0.01s.
yarn add v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 4 new dependencies.
info Direct dependencies
├─ react-dom@18.2.0
└─ react@18.2.0
info All dependencies
├─ js-tokens@4.0.0
├─ react-dom@18.2.0
├─ react@18.2.0
└─ scheduler@0.23.0
Done in 0.49s.

⤵️ Adding required files

🧶 Installing Yarn 2
yarn set version berry && yarn config set enableGlobalCache true && yarn config set nodeLinker node-modules
➤ YN0000: Retrieving https://repo.yarnpkg.com/3.2.4/packages/yarnpkg-cli/bin/yarn.js
➤ YN0000: Saving the new release in .yarn/releases/yarn-3.2.4.cjs
➤ YN0000: Done in 0s 239ms
➤ YN0000: Successfully set enableGlobalCache to true
➤ YN0000: Successfully set nodeLinker to 'node-modules'

👮 Adding typescript and tsconfig.json
yarn add -D typescript@latest
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 0s 455ms
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 254ms
➤ YN0000: Done in 0s 773ms

🌍 Adding needed deps & installing all deps
yarn add -D @babel/preset-react @babel/preset-typescript
➤ YN0000: ┌ Resolution step
➤ YN0002: │ vite-storybook-init-repro@workspace:. doesn't provide @babel/core (p4fca8), requested by @babel/preset-react
➤ YN0002: │ vite-storybook-init-repro@workspace:. doesn't provide @babel/core (pc9637), requested by @babel/preset-typescript
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed in 7s 222ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ @babel/code-frame@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/generator@npm:7.20.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-annotate-as-pure@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-create-class-features-plugin@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-environment-visitor@npm:7.18.9 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/generator@npm:7.20.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-annotate-as-pure@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-create-class-features-plugin@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-environment-visitor@npm:7.18.9 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-function-name@npm:7.19.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-annotate-as-pure@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-create-class-features-plugin@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-environment-visitor@npm:7.18.9 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-function-name@npm:7.19.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-hoist-variables@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-create-class-features-plugin@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-environment-visitor@npm:7.18.9 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-function-name@npm:7.19.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-hoist-variables@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-member-expression-to-functions@npm:7.18.9 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-environment-visitor@npm:7.18.9 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-function-name@npm:7.19.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-hoist-variables@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-member-expression-to-functions@npm:7.18.9 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-module-imports@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-function-name@npm:7.19.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-hoist-variables@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-member-expression-to-functions@npm:7.18.9 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-module-imports@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-optimise-call-expression@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-hoist-variables@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-member-expression-to-functions@npm:7.18.9 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-module-imports@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-optimise-call-expression@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-plugin-utils@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-member-expression-to-functions@npm:7.18.9 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-module-imports@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-optimise-call-expression@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-plugin-utils@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-replace-supers@npm:7.19.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-module-imports@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-optimise-call-expression@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-plugin-utils@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-replace-supers@npm:7.19.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-split-export-declaration@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-optimise-call-expression@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-plugin-utils@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-replace-supers@npm:7.19.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-split-export-declaration@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-string-parser@npm:7.19.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-plugin-utils@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-replace-supers@npm:7.19.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-split-export-declaration@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-string-parser@npm:7.19.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-validator-identifier@npm:7.19.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-replace-supers@npm:7.19.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-split-export-declaration@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-string-parser@npm:7.19.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-validator-identifier@npm:7.19.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-validator-option@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-split-export-declaration@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-string-parser@npm:7.19.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-validator-identifier@npm:7.19.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-validator-option@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/highlight@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-string-parser@npm:7.19.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-validator-identifier@npm:7.19.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-validator-option@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/highlight@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/parser@npm:7.20.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-validator-identifier@npm:7.19.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-validator-option@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/highlight@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/parser@npm:7.20.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-syntax-jsx@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-validator-option@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/highlight@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/parser@npm:7.20.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-syntax-jsx@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-syntax-typescript@npm:7.20.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/highlight@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/parser@npm:7.20.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-syntax-jsx@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-syntax-typescript@npm:7.20.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-display-name@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/parser@npm:7.20.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-syntax-jsx@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-syntax-typescript@npm:7.20.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-display-name@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-jsx-development@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-syntax-jsx@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-syntax-typescript@npm:7.20.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-display-name@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-jsx-development@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-jsx@npm:7.19.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-syntax-typescript@npm:7.20.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-display-name@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-jsx-development@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-jsx@npm:7.19.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-pure-annotations@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-display-name@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-jsx-development@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-jsx@npm:7.19.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-pure-annotations@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-typescript@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-jsx-development@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-jsx@npm:7.19.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-pure-annotations@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-typescript@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/preset-react@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-jsx@npm:7.19.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-pure-annotations@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-typescript@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/preset-react@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/preset-typescript@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-react-pure-annotations@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-typescript@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/preset-react@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/preset-typescript@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/template@npm:7.18.10 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/plugin-transform-typescript@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/preset-react@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/preset-typescript@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/template@npm:7.18.10 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/traverse@npm:7.20.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/preset-react@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/preset-typescript@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/template@npm:7.18.10 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/traverse@npm:7.20.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/types@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/preset-typescript@npm:7.18.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/template@npm:7.18.10 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/traverse@npm:7.20.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/types@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/gen-mapping@npm:0.3.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/template@npm:7.18.10 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/traverse@npm:7.20.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/types@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/gen-mapping@npm:0.3.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/resolve-uri@npm:3.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/traverse@npm:7.20.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/types@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/gen-mapping@npm:0.3.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/resolve-uri@npm:3.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/set-array@npm:1.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/types@npm:7.20.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/gen-mapping@npm:0.3.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/resolve-uri@npm:3.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/set-array@npm:1.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/sourcemap-codec@npm:1.4.14 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/gen-mapping@npm:0.3.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/resolve-uri@npm:3.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/set-array@npm:1.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/sourcemap-codec@npm:1.4.14 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/trace-mapping@npm:0.3.17 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/resolve-uri@npm:3.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/set-array@npm:1.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/sourcemap-codec@npm:1.4.14 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/trace-mapping@npm:0.3.17 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ ansi-styles@npm:3.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/set-array@npm:1.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/sourcemap-codec@npm:1.4.14 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/trace-mapping@npm:0.3.17 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ ansi-styles@npm:3.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ chalk@npm:2.4.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/sourcemap-codec@npm:1.4.14 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/trace-mapping@npm:0.3.17 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ ansi-styles@npm:3.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ chalk@npm:2.4.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ color-convert@npm:1.9.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @jridgewell/trace-mapping@npm:0.3.17 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ ansi-styles@npm:3.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ chalk@npm:2.4.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ color-convert@npm:1.9.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ color-name@npm:1.1.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ ansi-styles@npm:3.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ chalk@npm:2.4.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ color-convert@npm:1.9.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ color-name@npm:1.1.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ debug@npm:4.3.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ chalk@npm:2.4.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ color-convert@npm:1.9.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ color-name@npm:1.1.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ debug@npm:4.3.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ escape-string-regexp@npm:1.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ color-convert@npm:1.9.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ color-name@npm:1.1.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ debug@npm:4.3.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ escape-string-regexp@npm:1.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ globals@npm:11.12.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ color-name@npm:1.1.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ debug@npm:4.3.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ escape-string-regexp@npm:1.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ globals@npm:11.12.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ has-flag@npm:3.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ debug@npm:4.3.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ escape-string-regexp@npm:1.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ globals@npm:11.12.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ has-flag@npm:3.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ jsesc@npm:2.5.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ escape-string-regexp@npm:1.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ globals@npm:11.12.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ has-flag@npm:3.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ jsesc@npm:2.5.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ ms@npm:2.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ globals@npm:11.12.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ has-flag@npm:3.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ jsesc@npm:2.5.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ ms@npm:2.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ supports-color@npm:5.5.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ has-flag@npm:3.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ jsesc@npm:2.5.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ ms@npm:2.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ supports-color@npm:5.5.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ to-fast-properties@npm:2.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed in 1s 59ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed
➤ YN0000: Done with warnings in 8s 448ms

🎨 Initializing Storybook with @storybook/cli
node /Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js init --yes

 storybook init - the simplest way to add a Storybook to your project. 


attention => Storybook now collects completely anonymous telemetry regarding usage.
This information is used to shape Storybook's roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://storybook.js.org/telemetry

 • Detecting project type. ✓
ERR! TypeError: Invalid Version: null
ERR!     at new SemVer (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/semver/classes/semver.js:19:13)
ERR!     at compare (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/semver/functions/compare.js:3:3)
ERR!     at Object.gte (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/semver/functions/gte.js:2:30)
ERR!     at /Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js:11:3330
ERR!     at Eo (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js:11:2158)
ERR!     at Mt (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js:11:3295)
ERR!     at hn (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js:189:1515)
ERR!     at la (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js:216:124)
ERR!     at async withTelemetry (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/core-server/dist/cjs/withTelemetry.js:72:5)
ERR!     at async wn (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js:222:69)
ERR!  TypeError: Invalid Version: null
ERR!     at new SemVer (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/semver/classes/semver.js:19:13)
ERR!     at compare (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/semver/functions/compare.js:3:3)
ERR!     at Object.gte (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/semver/functions/gte.js:2:30)
ERR!     at /Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js:11:3330
ERR!     at Eo (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js:11:2158)
ERR!     at Mt (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js:11:3295)
ERR!     at hn (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js:189:1515)
ERR!     at la (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js:216:124)
ERR!     at async withTelemetry (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/core-server/dist/cjs/withTelemetry.js:72:5)
ERR!     at async wn (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js:222:69)
An error occurred while executing: `node /Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js init --yes`
🚨 Storybook initialization failed
🚨 Failed to create repro
ERR! Error: command exited with code: 1: 
ERR!     at ChildProcess.<anonymous> (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js:228:264)
ERR!     at ChildProcess.emit (node:events:527:28)
ERR!     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
ERR!  Error: command exited with code: 1: 
ERR!     at ChildProcess.<anonymous> (/Users/matanelgordon/.npm/_npx/eebb2d3a7d26a7f1/node_modules/@storybook/cli/dist/generate.js:228:264)
ERR!     at ChildProcess.emit (node:events:527:28)
ERR!     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
```


### Additional context

`Storybook@next` version: `7.0.0-alpha.48`

Specifications:

Apple Macbook Air
CPU: `M1`
OS: `macos 12 (Monterey)` 
node: `16.15.1`
npm: `8.18.0`