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
The Ray dashboard fails to build with newer versions of Ray - v16.17.0 is the version I'm currently using to successfully build the dashboard, but I've tried with later versions without success. Here's the error:
yarn run v1.22.19
$ react-scripts build
Creating an optimized production build...
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:133:10)
at module.exports (/home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/webpack/lib/NormalModule.js:417:16)
at handleParseError (/home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/webpack/lib/NormalModule.js:471:10)
at /home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/webpack/lib/NormalModule.js:503:5
at /home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/webpack/lib/NormalModule.js:358:12
at /home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/loader-runner/lib/LoaderRunner.js:373:3
at iterateNormalLoaders (/home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
at iterateNormalLoaders (/home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
at /home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/loader-runner/lib/LoaderRunner.js:236:3
at runSyncOrAsync (/home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/loader-runner/lib/LoaderRunner.js:130:11)
at iterateNormalLoaders (/home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
at Array.<anonymous> (/home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
at Storage.finished (/home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
at /home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
/home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/react-scripts/scripts/build.js:19
throw err;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:133:10)
at module.exports (/home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/webpack/lib/NormalModule.js:417:16)
at /home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/webpack/lib/NormalModule.js:452:10
at /home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/webpack/lib/NormalModule.js:323:13
at /home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/loader-runner/lib/LoaderRunner.js:367:11
at /home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/loader-runner/lib/LoaderRunner.js:233:18
at context.callback (/home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /home/pdmurray/Desktop/workspace/ray/dashboard/client/node_modules/react-scripts/node_modules/babel-loader/lib/index.js:59:103 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.4.0
It seems like this is an issue with webpack, and it might only be a matter of upgrading react-scripts - see facebook/create-react-app#11708.
The text was updated successfully, but these errors were encountered:
peytondmurray
added
bug
Something that is supposed to be working; but isn't
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
labels
Aug 19, 2022
peytondmurray
changed the title
[Dashboard] Failure to build for node>v17
[Dashboard] Failure to build for node>=v17Aug 19, 2022
alanwguo
added
P2
Important issue, but not time-critical
dashboard
Issues specific to the Ray Dashboard
and removed
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
labels
Dec 14, 2022
What happened + What you expected to happen
The Ray dashboard fails to build with newer versions of Ray -
v16.17.0
is the version I'm currently using to successfully build the dashboard, but I've tried with later versions without success. Here's the error:It seems like this is an issue with webpack, and it might only be a matter of upgrading
react-scripts
- see facebook/create-react-app#11708.Versions / Dependencies
master
>16.17.0
Reproduction script
[email protected]
cd ray/dashboard/client
yarn && yarn build
Issue Severity
Low: It annoys or frustrates me.
The text was updated successfully, but these errors were encountered: