![](https://mc.dev/wp-content/uploads/2023/02/Screenshot-2023-02-21-at-6.26.43-PM-1024x134.png)
Looks like somebody broke something!
Somewhere between Node v18 and Webpack 5, this little error started appearing: ‘digital envelope routines::initialization error’
Fortunately, I found a pretty simple workaround:
In your package.json
file, add this prefix to the scripts that break:
export NODE_OPTIONS=--openssl-legacy-provider
For example, instead of just start-storybook -p 6006
, add this:
![](https://mc.dev/wp-content/uploads/2023/02/Screenshot-2023-02-21-at-6.29.19-PM-1024x42.png)