Closed binomialstew closed 2 days ago
I suggest a build
label
@binomialstew, I encountered a similar problem when trying to run the command yarn start
. It seems to be related to insufficient RAM. I recommend closing any unnecessary applications and then running the command in the terminal again. That worked for me, but I could be mistaken.
@binomialstew, I encountered a similar problem when trying to run the command
yarn start
. It seems to be related to insufficient RAM. I recommend closing any unnecessary applications and then running the command in the terminal again. That worked for me, but I could be mistaken.
Thanks for the info, @mukulpadwal . It doesn't seem to be the issue here, unfortunately. I just restarted my machine (MacBook Pro with 32GB of RAM) to ensure there is sufficient memory available, but I see the same error with yarn start
.
Closing this because these errors were caused by a stray .pnp.cjs
in the directory above the storybook project. I'm not familiar enough with pnp to tell if there is a good way to prevent this happening for others.
Describe the bug
I cannot start or even build storybook development environment following the contributing guidelines.
yarn start
throws a large log of errors (link below) mostly related to missing packages. I'm using the version of node in the.nvmrc
(v22.6.0). This is on a fresh clone of thenext
branch, but I have tried and seen similar errors by checking out many of the later versions (v8.5.0
), (v8.4.0
) by tag ormain
branch.and so on with similar errors due to missing dependencies
Then:
Then:
Reproduction link
https://nx.app/runs/AMn7obhFIx
Reproduction steps
fnm use
yarn start
System
Storybook Environment Info:
System: OS: macOS 14.7.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Shell: 5.9 - /bin/zsh Binaries: Node: 22.6.0 - ~/.local/state/fnm_multishells/12442_1730489635105/bin/node Yarn: 4.3.0 - ~/.local/state/fnm_multishells/12442_1730489635105/bin/yarn <----- active npm: 10.8.2 - ~/.local/state/fnm_multishells/12442_1730489635105/bin/npm Browsers: Chrome: 130.0.6723.92 Safari: 17.6
Additional context
I've run storybook and even contributed in the past, but I haven't tried to run this locally for a few years now