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

npm start not working #932

Open
PoseidonSaan opened this issue May 18, 2023 · 5 comments
Open

npm start not working #932

PoseidonSaan opened this issue May 18, 2023 · 5 comments

Comments

@PoseidonSaan
Copy link

Expected Behavior

should start the local server and launch the app

...

Actual Behavior

[email protected] start
webpack-dev-server --mode development

(node:9424) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use node --trace-deprecation ... to show where the warning was created)
i 「wds」: Project is running at http://localhost:3000/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from C:\Users\ojasv\rebus\dist
node:internal/crypto/hash:69
this[kHandle] = new _Hash(algorithm, xofLen);
^

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:138:10)
at module.exports (C:\Users\ojasv\rebus\node_modules\webpack\lib\util\createHash.js:90:53)
at NormalModule._initBuildHash (C:\Users\ojasv\rebus\node_modules\webpack\lib\NormalModule.js:386:16)
at handleParseError (C:\Users\ojasv\rebus\node_modules\webpack\lib\NormalModule.js:434:10)
at C:\Users\ojasv\rebus\node_modules\webpack\lib\NormalModule.js:466:5
at C:\Users\ojasv\rebus\node_modules\webpack\lib\NormalModule.js:327:12
at C:\Users\ojasv\rebus\node_modules\loader-runner\lib\LoaderRunner.js:370:3
at iterateNormalLoaders (C:\Users\ojasv\rebus\node_modules\loader-runner\lib\LoaderRunner.js:211:10)
at Array. (C:\Users\ojasv\rebus\node_modules\loader-runner\lib\LoaderRunner.js:202:4) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

...

Steps to Reproduce the Problem

  1. Step 1..
  2. Step 2..
  3. Step 3..

Specifications

  • Browser: google chrome
@its-kumar-yash
Copy link

its-kumar-yash commented Jun 5, 2023

Hey @PoseidonSaan, I want to solve this issue please assign this to me. Thanks

@wchetan
Copy link

wchetan commented Jun 24, 2023

Hey @PoseidonSaan, this thread worked for me.
I ran set NODE_OPTIONS=--openssl-legacy-provider in command prompt & It worked. Hope it helps : ).

@Gourav2609
Copy link

Hey @PoseidonSaan, I want to solve this issue please assign this to me. Thanks

Hey @PoseidonSaan, this thread worked for me. I ran set NODE_OPTIONS=--openssl-legacy-provider in command prompt & It worked. Hope it helps : ).

I tried this but this is not working for me

@sarmadhamdani02
Copy link

Hi! 👋
I am also facing the same issue 😟
Can someone suggest the possible solution?

@vichustephen
Copy link

Hey @PoseidonSaan This issue occurs when you use node version 16+. As @wchetan mentioned you can use the command. Assign this issue to me I will update package.json

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants