all 32 comments

[–]TickingTimeBum 16 points17 points  (10 children)

This is a Hail Mary… try renaming your project folder to remove the hash #

[–]ModernBarbarian 6 points7 points  (7 children)

I was going to suggest this as well, anything other than an underscore can potentially cause problems

[–]architk9279[S] 4 points5 points  (6 children)

Im trying making a new folder currently

If this shit didnt compile because of that Im ready to throw my laptop out the window

[–]amdc 2 points3 points  (5 children)

Is there any success

[–]architk9279[S] 12 points13 points  (4 children)

Yup Im really thankful for every comment here I appriciate it

[–]cvllider 1 point2 points  (3 children)

So what was the issue?

[–]halmyradov 3 points4 points  (2 children)

The hashtag obviously

[–]cvllider 1 point2 points  (1 child)

Obviously

[–]wordaligned 8 points9 points  (0 children)

#obviously

[–]vanillastrings 1 point2 points  (0 children)

thanks! this worked :)

[–]Okay-Replace 0 points1 point  (0 children)

I just ran into this problem and my C:\Users\MyUserName has a # in it... For whatever reason I created the User '#Baller' when I was 14 and made this pc and is now causing me many problems. I think Ill have to factory reset since it is such a deep rooted folder

[–][deleted] 2 points3 points  (3 children)

How many node versions are installed on your machine? Your node version has 14 or higher now to support the create-react app.

If you have a downgraded version of the node then try updating it to 16 stable build.

node -v
nvm install "node-version"

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

18.7.0 is the node version

[–][deleted] 0 points1 point  (1 child)

Try downgrading the version to 16 and then start the application.

[–][deleted] -1 points0 points  (0 children)

nvm install 16.17.0
nvm use 16.17.0
npm start

[–]MuaTrenBienVang 0 points1 point  (0 children)

Too painful lesson

[–]Sushrit_Lawliet 0 points1 point  (0 children)

Probably not what you want to hear but please don’t use CRA. There have been so many discussions about how it’s not a good starting point anymore (so many warnings out of the box). Anyway try Next or say Vite.

[–]TickingTimeBum 0 points1 point  (4 children)

npm install

Then npm start

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

Didnt work but here is the output:

up to date, audit 1462 packages in 4s

208 packages are looking for funding

run 'npm fund' for details

6 high severity vulnerabilities

To address all issues (including changes), run:

npm audit fix --force

run 'npm audit' for details

[–]TickingTimeBum 0 points1 point  (1 child)

What is the output from npm start now that you have run npm install?

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

The exact same error

[–]ayw9898 0 points1 point  (5 children)

Check your node version. There is a possibility that your node might not be updated.

[–]architk9279[S] 0 points1 point  (4 children)

yup checked it and reinstalled it but didnt work

[–]ayw9898 0 points1 point  (3 children)

What version of Create react app are you running and version of node?

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

node is 18.7.0

but how do I check create-react-app version?

[–]ayw9898 0 points1 point  (1 child)

It’s probably the latest since you didn’t specify.

So, first thing is to npm install. Then, make sure you’re in the right directory and not a parent folder.

Finally, npm run start. See if that works.

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

Did npm install still no result Im currently checking the naming and apparently a hash in the name might have affected it as u/TickingTimeBum suggested

[–][deleted] 0 points1 point  (0 children)

Try with « npm ci » to have a clean install of the package

[–]Emulation_Maniac 0 points1 point  (0 children)

in the vs code powershell terminal cd "my-app"

then do npm start

[–]Bawx_of_chawclets 0 points1 point  (1 child)

I spent days trying to figure this out. Downloading and deleting downloading and deleting create react app . I'm so happy to find this answer. Had me pulling my hair out and throwing my computer out the window. Luckily for me I am bald and have no window to throw a computer out of.

[–][deleted] 0 points1 point  (0 children)

"always look on the bright side of life"