movies-javascript-bolt icon indicating copy to clipboard operation
movies-javascript-bolt copied to clipboard

Node 17 and Webpack

Open fbiville opened this issue 3 years ago • 0 comments

The problem is described here: https://github.com/webpack/webpack/issues/14532/.

The solution:

-    "build": "webpack",
-    "start": "webpack serve"
+    "build": "NODE_OPTIONS=--openssl-legacy-provider webpack",
+    "start": "NODE_OPTIONS=--openssl-legacy-provider webpack serve"

BUT this only works with Node 17, prior versions reject this setting.

fbiville avatar Jan 10 '22 10:01 fbiville