Daily Archives: February 22, 2023

1 post

Nasty NPM Error

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, […]