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
As we merge #2533 with Node.js version 18 webpack will require new NODE_OPTIONS. Why? Because Node.js maintainers deprecate legacy OpenSSL. This is causing our Webpack to throw Error: error:0308010C:digital envelope routines::unsupported while running any command.
Suggested workaround is to add NODE_OPTIONS=--openssl-legacy-provider every time we use Webpack in our scripts. There is no fix in the current Webpack release yet 😞.
We could wait for webpack to upgrade to version 6 but I think we can migrate to https://vitejs.dev/ instead and have a better developer experience. Then we can remove the NODE_OPTIONS=--openssl-legacy-provider variables from package.json after migrate.
The text was updated successfully, but these errors were encountered:
As we merge #2533 with Node.js version 18 webpack will require new
NODE_OPTIONS
. Why? Because Node.js maintainers deprecate legacy OpenSSL. This is causing our Webpack to throwError: error:0308010C:digital envelope routines::unsupported
while running any command.Suggested workaround is to add
NODE_OPTIONS=--openssl-legacy-provider
every time we use Webpack in our scripts. There is no fix in the current Webpack release yet 😞.We could wait for webpack to upgrade to version 6 but I think we can migrate to https://vitejs.dev/ instead and have a better developer experience. Then we can remove the
NODE_OPTIONS=--openssl-legacy-provider
variables from package.json after migrate.The text was updated successfully, but these errors were encountered: