Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Npm start failed to launch the project ! #1706

Closed
alamenai opened this issue Nov 25, 2022 · 2 comments
Closed

Npm start failed to launch the project ! #1706

alamenai opened this issue Nov 25, 2022 · 2 comments

Comments

@alamenai
Copy link

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:

 [email protected] 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
Copy link

zenril commented Feb 5, 2023

same issue using 19.6.0
and using yarn

@edmorley
Copy link
Member

edmorley commented Feb 3, 2024

Closing since unfortunately this project is no longer maintained. See:
#1707
neutrinojs/webpack-chain#358

@edmorley edmorley closed this as not planned Won't fix, can't repro, duplicate, stale Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants