neutrinojs / neutrino

Create and build modern JavaScript projects with zero initial configuration.
https://neutrinojs.org
Mozilla Public License 2.0
3.94k stars 214 forks source link

Npm start failed to launch the project ! #1706

Closed alamenai closed 9 months ago

alamenai commented 2 years ago

Issue

What version of Neutrino are you using?

9 . 5 . 0

1 ) Are you trying to use any presets? If so, which ones, and what versions?

React - Jest - Airbnb

2 ) Are you using the Yarn client or the npm client? What version?

NPM 8 . 19 .2

3 ) What version of Node.js are you using?

18 . 12 . 1

4 ) What operating system are you using?

Linux UBUNTU 22.04

5 ) What did you do?

Run this command :

❯ npx @neutrinojs/create-project <directory-name>

Next command :

npm start

6 ) What did you expect to happen?

See the first or the index page on the browser.

What actually happened, contrary to your expectations?

Internal Error:

 react-app@1.0.0 start
> webpack-dev-server --mode development --open

ℹ 「wds」: Project is running at http://localhost:5000/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /home/alaeddine/Apps/react-app
ℹ 「wds」: 404s will fallback to /index.html
node:internal/crypto/hash:71
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

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 (/home/alaeddine/Apps/react-app/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/home/alaeddine/Apps/react-app/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/home/alaeddine/Apps/react-app/node_modules/webpack/lib/NormalModule.js:471:10)
    at /home/alaeddine/Apps/react-app/node_modules/webpack/lib/NormalModule.js:503:5
    at /home/alaeddine/Apps/react-app/node_modules/webpack/lib/NormalModule.js:358:12
    at /home/alaeddine/Apps/react-app/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/alaeddine/Apps/react-app/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at Array.<anonymous> (/home/alaeddine/Apps/react-app/node_modules/loader-runner/lib/LoaderRunner.js:205:4) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v18.12.1
zenril commented 1 year ago

same issue using 19.6.0 and using yarn

edmorley commented 9 months ago

Closing since unfortunately this project is no longer maintained. See: https://github.com/neutrinojs/neutrino/issues/1707 https://github.com/neutrinojs/webpack-chain/issues/358