Problems With React Project - React JS
Hello Everyone, I've been trying for a while now to begin working on an existing React project. First of all, I dowloaded the latest version of Node JS and then cloned the repo from GitHub. I did my way to the directory where I can find "package.json" and did "npm i". AT THAT MOMENT, I got many errors such as: "npm WARN ERESOLVE overriding peer dependency" and "npm WARN Conflicting peer dependency: react@17.0.2" After that, I did the following (was advised by people on StackOverFlow): npm install --legacy-peer-deps npm audit fix --force When it finished it still said that there are more issues needed to be fixed for some reason. Even though I knew there were more problems, I did "npm start" to see the website. A page on localhost:3000 opened - good news, but then it told me: " 'React' must be in scope when using JSX react/react-in-jsx-scope ". I got that error on many files, after some researching I understood that dozens of files are missing the simple react import (import React from 'react'). I added every import, but then it said that some files inside the node_modules have syntax error such as missing brackets. I don't know what to do anymore, I need your help - I explained everything as detailed as I can. Worth mentioning, I reinstalled Node JS and re-cloned the repo multiple times. In addition, the project runs perfectly on my friends computer. Bless all helpers.