You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by "RisottoNacho (via GitHub)" <gi...@apache.org> on 2023/12/28 08:55:00 UTC
[I] Error when trying to run with "npm run start" [age-viewer]
RisottoNacho opened a new issue, #166:
URL: https://github.com/apache/age-viewer/issues/166
**Description of the bug**
After executing "npm run setup" I try to run "npm run start" but get the following error:
```
Starting the development server...
/home/nacho/Documentos/GitHub/age-viewer/frontend/node_modules/react-scripts/scripts/start.js:19
throw err;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:133:10)
at module.exports (/home/nacho/Documentos/GitHub/age-viewer/frontend/node_modules/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/home/nacho/Documentos/GitHub/age-viewer/frontend/node_modules/webpack/lib/NormalModule.js:417:16)
at /home/nacho/Documentos/GitHub/age-viewer/frontend/node_modules/webpack/lib/NormalModule.js:452:10
at /home/nacho/Documentos/GitHub/age-viewer/frontend/node_modules/webpack/lib/NormalModule.js:323:13
at /home/nacho/Documentos/GitHub/age-viewer/frontend/node_modules/loader-runner/lib/LoaderRunner.js:367:11
at /home/nacho/Documentos/GitHub/age-viewer/frontend/node_modules/loader-runner/lib/LoaderRunner.js:233:18
at context.callback (/home/nacho/Documentos/GitHub/age-viewer/frontend/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /home/nacho/Documentos/GitHub/age-viewer/frontend/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.17.1
ERROR: "front" exited with 1.
```
I updated to the latest pm2 version but the problem still persists. The same error pops if I try to execute "npm run build-front ".
**To Reproduce**
1. Run "npm run setup"
2. Run "npm run start"
**Desktop**
- OS: Ubuntu 22.04
- Node.js v18.17.1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@age.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Error when trying to run with "npm run start" [age-viewer]
Posted by "tsmanuelanton (via GitHub)" <gi...@apache.org>.
tsmanuelanton commented on issue #166:
URL: https://github.com/apache/age-viewer/issues/166#issuecomment-1896181898
you can fix this executing before `export NODE_OPTIONS=--openssl-legacy-provider`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org