-
Notifications
You must be signed in to change notification settings - Fork 32
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
[Bug] SV CLI with storybook not working correctly SB_CORE-SERVER_0002 (CriticalPresetLoadError): Storybook failed to load the following preset @[email protected] #379 #256
Comments
Hi @mieaw, have you seen #229 issue? Looks like you've created a duplicate. BTW, the warning you're seeing when running command: pnpm svelte-kit sync |
using LTS :$ nvm use lts
Now using node v22.12.0 (64-bit) Log:
useing latest$ nvm use latest
23.5.0
Now using node v23.5.0 (64-bit) Log:
|
the work around is to use what you already mentioned here: #229 (comment) But i will not close the issue because the sv CLI not working as expected (normally without (NODE_OPTIONS="--no-experimental-require-module") NODE_OPTIONS="--no-experimental-require-module" pnpm storybook
|
Now is working |
OS Name: Microsoft Windows 11 Pro OS Version: 10.0.22631 N/A Build 22631
node -v: v23.5.0
pnpm -v: 9.15.1
CLI log:
pNPM dev:
pNPM run storybook:
i have tried:
[ OK ] pnpm install
[ OK ] rm -rf node_modules
[ OK ] rm -f package-lock.json # Or pnpm-lock.yaml for pnpm
[ OK ] npm install
2. Clean the Project
i have used after : pnpm install --force
also i have tried : pnpm update -L
same problem:
The text was updated successfully, but these errors were encountered: