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
I have to run this export NODE_OPTIONS=--openssl-legacy-provider to be able to run the example locally.
I was getting this error when I followed the stated steps:
$ yarn start-local
yarn run v1.22.19
$ webpack-dev-server --env.local --progress --hot --open
10% building 1/1 modules 0 activeℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /nebula.gl/examples/advanced
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (/nebula.gl/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/nebula.gl/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/nebula.gl/node_modules/webpack/lib/NormalModule.js:471:10)
at /nebula.gl/node_modules/webpack/lib/NormalModule.js:503:5
at /nebula.gl/node_modules/webpack/lib/NormalModule.js:358:12
at /nebula.gl/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/nebula.gl/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/nebula.gl/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
10% building 1/4 modules 3 active ....gl/node_modules/webpack/hot/dev-server.js/nebula.gl/node_modules/loader-runner/lib/LoaderRunner.js:133
if(isError) throw e;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at module.exports (/nebula.gl/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/nebula.gl/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/nebula.gl/node_modules/webpack/lib/NormalModule.js:471:10)
at /nebula.gl/node_modules/webpack/lib/NormalModule.js:503:5
at /nebula.gl/node_modules/webpack/lib/NormalModule.js:358:12
at /nebula.gl/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/nebula.gl/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/nebula.gl/node_modules/loader-runner/lib/LoaderRunner.js:221:10) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.8.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Command failed: node ~/.yvm/versions/v1.22.19/bin/yarn.js start-local
Suggested update to readme:
Running the example
git clone [email protected]:uber/nebula.gl.git
cd nebula.gl
yarn
cd examples/advanced
yarn
export MapboxAccessToken='<Add your key>'
export NODE_OPTIONS=--openssl-legacy-provider
yarn start-local
You can now view and edit geometry.
The text was updated successfully, but these errors were encountered:
I have to run this
export NODE_OPTIONS=--openssl-legacy-provider
to be able to run the example locally.I was getting this error when I followed the stated steps:
Suggested update to readme:
The text was updated successfully, but these errors were encountered: