merikbest / twitter-spring-reactjs

:bird: Twitter Clone with Microservice Architecture using Java 17, Spring Boot, Spring Cloud, PostgreSQL, S3 bucket, JWT, TypeScript, React.js, Redux-Saga, Material-UI
MIT License
318 stars 108 forks source link

The client npm install dependency error #7

Open soander opened 2 years ago

soander commented 2 years ago

Use the npm install will raise a error about dependencies.

soander commented 2 years ago

image This is the error info.

Hermess337 commented 1 year ago

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

soander commented 1 year ago

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

Sorry, I didn't solve it.

merikbest commented 1 year ago

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
Hermess337 commented 1 year ago

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.

merikbest commented 1 year ago

@Hermess337 node: v16.16.0 npm: 8.17.0