You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I pulled down your reproduction and I see a lot of:
✘ [ERROR] Invalid command: on-resolve [plugin JavaScript plugins]
node_modules/esbuild/lib/main.js:728:12:
728 │ throw new Error(`Invalid command: ` + request.command);
╵ ^
at handleRequest (/Users/ianvs/code/experiments/storybook/nsx/node_modules/esbuild/lib/main.js:728:13)
at handleIncomingPacket (/Users/ianvs/code/experiments/storybook/nsx/node_modules/esbuild/lib/main.js:745:7)
at Socket.readFromStdout (/Users/ianvs/code/experiments/storybook/nsx/node_modules/esbuild/lib/main.js:673:7)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
The plugin "JavaScript plugins" was triggered by this import
node_modules/react-syntax-highlighter/dist/esm/async-languages/prism.js:1371:4:
1371 │ "refractor/lang/xquery.js");
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~
The reason it builds fine is that vite only uses esbuild in dev, and it uses rollup in production. It looks like this isn't something Storybook can fix, though, you'll need to follow the issue I linked.
Describe the bug
Screen.Recording.2023-05-22.at.11.53.10.mov
To Reproduce
Creating with storybook.new now...
Install Volta
curl https://get.volta.sh | bash
git clone https://github.com/laststance/nsx.git
cd nsx
yarn
yarn storybook
System
Additional context
yarn build-storybook
is working fine.The text was updated successfully, but these errors were encountered: