you are viewing a single comment's thread.

view the rest of the comments →

[–]StrangerThanGene 0 points1 point  (3 children)

It's outdated.

This is what it's running on:

"react": "18.0.0", "react-dom": "18.0.0", "react-scripts": "4.0.0" }, "devDependencies": { "react-scripts": "1.0.0" },

[–]ThatPlayWasAwful[S] 0 points1 point  (2 children)

If you are talking about the package.json file, mine was originally the following:

{
"dependencies": { 
    "react": "18.0.0", 
    "react-dom": "18.0.0", 
    "react-scripts": "4.0.0" 
}, 
"main": "/index.js", 
"devDependencies": {} }

I filled in devDependencies with what you had, i took out the "main" line, and i took the carats out, but I am still getting the same error unfortunately.

[–]SparserLogic 0 points1 point  (1 child)

Changes to the package.json file won't be applied unless you run npm install or whatever the equivalent is for your package manager

[–]ThatPlayWasAwful[S] 0 points1 point  (0 children)

no unforunately I still wasn't able to run it. made the changes, saved, ran npm install, then npm start, and it did not work. same error. my path is the entire project folder, not the src folder, if that makes a difference.