Closed mnrendra closed 1 year ago
Node 18 is not supported with @storybook 6.5 when using builder-vite. If you'd like to run with node 18 and the vite builder, I suggest upgrading to storybook 7. You can use npx sb@next upgrade --prerelease
, and check out https://github.com/storybookjs/storybook/blob/next/MIGRATION.md for the details on what has changed.
Describe the bug
Error when running
npm run storybook
oryarn storybook
where the script in
package.json
is like this:It solved by adding
export SET NODE_OPTIONS=--openssl-legacy-provider
in the script:But doesn't work when running on Chromatic Github Action.
Note:
To Reproduce
System
Additional context
No response