twitter-spring-reactjs icon indicating copy to clipboard operation
twitter-spring-reactjs copied to clipboard

The client npm install dependency error

Open soander opened this issue 3 years ago • 6 comments

Use the npm install will raise a error about dependencies.

soander avatar Jul 24 '22 21:07 soander

image This is the error info.

soander avatar Jul 24 '22 21:07 soander

Hi, I have the same problem, did you manage to solve it please ?

Hermess337 avatar Oct 29 '22 12:10 Hermess337

Hi, I have the same problem, did you manage to solve it please ?

Sorry, I didn't solve it.

soander avatar Oct 29 '22 17:10 soander

Hello Try to delete the node_modules directory and the package-lock.json file (If you have them inside client directory)

  1. Click rmb on the client directory -> Open in -> Terminal 2233444
  2. Run command: npm config set legacy-peer-deps true
  3. Then run command: npm install

merikbest avatar Oct 29 '22 20:10 merikbest

Hello, thank you for your answer Can you tell me what version of node and Npm you have please? Because it seems that there are a lot of dependencies that are no longer compatible with the latest version of node and when I downgrade my version of node I get many vulnerabilities.

Hermess337 avatar Nov 05 '22 13:11 Hermess337

@Hermess337 node: v16.16.0 npm: 8.17.0

merikbest avatar Nov 09 '22 09:11 merikbest