pinejs
pinejs copied to clipboard
node:17 may fail with webpack
Starting with node:17 (e.g. docker base image) the webpack scripts are failing with this error:
> @balena/[email protected] webpack-browser
> grunt browser
Running "checkDependencies:this" (checkDependencies) task
Running "webpack:browser" (webpack) task
Fatal error: error:0308010C:digital envelope routines::unsupported
Workaround is setting a node_options env var and run node:17.
export NODE_OPTIONS=--openssl-legacy-provider
Otherwise, down-version to node:16.
Refer to: https://github.com/webpack/webpack/issues/14532
@fisehara I assume this was solved?