Solved: How to Fix npm ERR! code ENOENT Error in React JS - Fix ENOENT: no such file or directory.

preview_player
Показать описание
This video shows how to fix npm ERR! code ENOENT error in React JS.

The "npm ERR! code ENOENT - ENOENT: no such file or directory" is a common error while running the "npm start" command. This error occurs when you run "npm start" in the wrong folder.

When you create a React project, a separate React app folder is created by default. ENOENT error occurs when you run "npm start" in the parent folder of the React app folder. You need to always run the "npm start" in the React app folder.

Solution:

Just change the directory using: cd your_reactapp_name

Then run the "npm start" command. This should solve your error and start the React app in the browser.

I hope you found this video helpful. For more React error solutions, checkout our new playlist -

Keep building things!
Рекомендации по теме
Комментарии
Автор

No bhaiya I am running it my-app folder but again this error is coming

KRR
Автор

no it doesn't help what is react folder ?

MrSergioKon
Автор

Saved me a bunch, thank you very much!!!

SlyBalto
Автор

This worked like a charm using Node.
Thank you

Whatsonthebench
Автор

thank you very much. This was pretty helpful for a beginner like me

needimanh
Автор

thenk you so much brother,

just for a sngle line i have spend 4-5 days,
the line is (to solve this problame you to select internaly so write "cd + folder name")

wmrfdln
Автор

thank you man!! your video really saved my day !!

Sherlockjp
Автор

but this error is occured when i have to crate a new react application 😥😔

PC_Edits
Автор

Thank you so much, you saved mi life!!!

carlossaltos
Автор

woww it works, thank you for making me screaming about this err

ibrahimbaras
Автор

it doesn't work, still the error :<

snoopyrawr
Автор

npm install mei same aa raha hai to kya kre?

namanjain
Автор

Thankyou bhaiii, bacha liya tune 😭😭😭😭😭😭

_vedanksinghBtech
Автор

Thankyou sir tbse try kr rha tha run ni ho rha tha

VirtualLoveHaven