Тёмный
No video :(

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

RiPixel
Подписаться 132 тыс.
Просмотров 31 тыс.
50% 1

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!

Опубликовано:

 

22 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 63   
@yt.alaycikus
@yt.alaycikus 6 месяцев назад
thank u very much i love indians
@PC_Edits
@PC_Edits 2 месяца назад
but this error is occured when i have to crate a new react application 😥😔
@jerryweavers
@jerryweavers Месяц назад
same
@PC_Edits
@PC_Edits Месяц назад
@@jerryweavers bro I solved this error ✅
@jerryweavers
@jerryweavers Месяц назад
@@PC_Edits same
@user-sl9xm3cm3p
@user-sl9xm3cm3p Месяц назад
bro did u solve it?
@PC_Edits
@PC_Edits Месяц назад
@@user-sl9xm3cm3p Yes
@MrSergioKon
@MrSergioKon 6 месяцев назад
no it doesn't help what is react folder ?
@KRR564
@KRR564 Месяц назад
No bhaiya I am running it my-app folder but again this error is coming
@scientistakasha7293
@scientistakasha7293 5 дней назад
yar muj bechari ka to folder hi aik iklota hai koi child folder nahi phr b 😄...hua solve apka??
@user-wm7rf1dl3n
@user-wm7rf1dl3n 2 месяца назад
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")
@Whatsonthebench
@Whatsonthebench 5 месяцев назад
This worked like a charm using Node. Thank you
@RiPixelofficial
@RiPixelofficial 5 месяцев назад
Great to hear!
@ibrahimbaras7648
@ibrahimbaras7648 2 месяца назад
woww it works , thank you for making me screaming about this err
@snoopyrawr
@snoopyrawr Месяц назад
it doesn't work, still the error :
@SlyBalto
@SlyBalto 3 месяца назад
Saved me a bunch, thank you very much!!!
@needimanh
@needimanh 7 месяцев назад
thank you very much. This was pretty helpful for a beginner like me
@RiPixelofficial
@RiPixelofficial 7 месяцев назад
We're glad that it helped you.
@guisilva5144
@guisilva5144 3 дня назад
Thank you brother!
@Sherlock24jp
@Sherlock24jp 4 месяца назад
thank you man!! your video really saved my day !!
@RiPixelofficial
@RiPixelofficial 4 месяца назад
Glad to hear that!
@michaelcboone4222
@michaelcboone4222 3 месяца назад
You are truly a lifesaver my friend!!
@poojakumari-yh3ti
@poojakumari-yh3ti 4 месяца назад
It is not working
@carlossaltos2947
@carlossaltos2947 3 месяца назад
Thank you so much, you saved mi life!!!
@RiPixelofficial
@RiPixelofficial 3 месяца назад
Glad it helped!
@_vedanksinghBtech
@_vedanksinghBtech 3 месяца назад
Thankyou bhaiii, bacha liya tune 😭😭😭😭😭😭
@iissr
@iissr 7 месяцев назад
Thank you utem qez
@lordsweapons3985
@lordsweapons3985 3 месяца назад
Thanks a lot
@lok9855
@lok9855 5 месяцев назад
it helps me so much!! many thxxx!!!!!
@minhtriettang5589
@minhtriettang5589 3 месяца назад
thank u very much
@RiPixelofficial
@RiPixelofficial 3 месяца назад
Welcome!
@maxjhones336
@maxjhones336 Месяц назад
thank so much my friend +1 subscrit
@0M3L863
@0M3L863 2 месяца назад
Thank you so much
@VirtualLoveHaven
@VirtualLoveHaven 3 месяца назад
Thankyou sir tbse try kr rha tha run ni ho rha tha
@Kumo86
@Kumo86 17 дней назад
Thank You!
@calexjebaalexjeba
@calexjebaalexjeba 7 месяцев назад
I need a json code
@ManjithaAbeysinghe
@ManjithaAbeysinghe 2 месяца назад
Thanks!
@mjylove2
@mjylove2 4 месяца назад
thank you !
@RiPixelofficial
@RiPixelofficial 4 месяца назад
Welcome!
@namanjain1130
@namanjain1130 6 месяцев назад
npm install mei same aa raha hai to kya kre?
@RiPixelofficial
@RiPixelofficial 6 месяцев назад
Check out this similar error and its fix (it might help you) - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-L6sTE6QtsfU.htmlfeature=shared
@namanjain1130
@namanjain1130 6 месяцев назад
thank you... problem solved@@RiPixelofficial
@naughtymachinegun
@naughtymachinegun 8 месяцев назад
React is trash Cant even start the react tutorial without errors What a joke
@prestigious5s23
@prestigious5s23 7 месяцев назад
Its ridiculous really. I remember when react was the UI LIbrary of choice picked by a former company about 6 years ago and was the same back then. It was pretty stable once we got up and running, but an absolute headache trying to get started as we ran into error after error. Good to see things haven't changed lol!
@badbeatslayer
@badbeatslayer 3 месяца назад
Life saver !
@mr.rahulragi9316
@mr.rahulragi9316 Месяц назад
thank you bro
@cyborg1314
@cyborg1314 Месяц назад
Thanks bro.
@igormuniz.7241
@igormuniz.7241 4 месяца назад
Thank u very very much
@SobiaAxix
@SobiaAxix 4 месяца назад
thanks a lot
@RiPixelofficial
@RiPixelofficial 4 месяца назад
Welcome!
@swathi2396
@swathi2396 5 месяцев назад
Thanks a lot.
@Ammstan672
@Ammstan672 Месяц назад
Lifesaver🥹
@siteadmin5282
@siteadmin5282 8 месяцев назад
Worked
@user-yf5sy4me4j
@user-yf5sy4me4j 6 месяцев назад
C:\Users\SamCro\Desktop\PRJS\Ang>npm create vite@latest my-project -- --template react 'CALL "C:\Program Files odejs\ ode.exe" "C:\Program Files odejs\ ode_modules pm\bin pm-cli.js" prefix -g' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ENOENT npm ERR! syscall spawn C:\Program Files\MongoDB\mongosh-2.0.1-win32-x64\bin npm ERR! path C:\Users\SamCro\Desktop\PRJS\Ang npm ERR! errno -4058 npm ERR! enoent spawn C:\Program Files\MongoDB\mongosh-2.0.1-win32-x64\bin ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: C:\Users\SamCro\AppData\Local pm-cache\_logs\2024-02-08T17_57_14_876Z-debug-0.log I HAVE THIS ERROR
@RiPixelofficial
@RiPixelofficial 6 месяцев назад
try to run the vite command without any flags: npm create vite@latest
@sabric.4447
@sabric.4447 6 месяцев назад
Thank youu!
@hannah51238
@hannah51238 6 месяцев назад
Thanks dude!
@RiPixelofficial
@RiPixelofficial 6 месяцев назад
Happy to help!
@RaulAlvarez-de2sz
@RaulAlvarez-de2sz 5 месяцев назад
Awesome
@ogs102
@ogs102 5 месяцев назад
great job
@linex6285
@linex6285 6 месяцев назад
i love u
@youssefahmed-pk8oz
@youssefahmed-pk8oz 7 месяцев назад
the true hero
Далее
React Proxy | Easiest Fix to CORS Errors
15:52
Просмотров 85 тыс.
PEDRO PEDRO INSIDEOUT
00:10
Просмотров 2,6 млн
How To Browse The Internet Free
7:13
Просмотров 10 тыс.
You are loading Images wrong! Use this instead 😍
14:41