Can't start creat react app
npm ERR! code ENOENT npm ERR! syscall lstat npm ERR! path C:\Users\My Pc\AppData\Roaming\npm npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\My Pc\AppData\Roaming\npm' 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\My Pc\AppData\Local\npm-cache_logs\2024-04-04T05_20_27_631Z-debug-0.log how I can solve this problem I was try to so much times. But can't find solution
Hi @JubayerFahim, have you tried with what's proposed on https://github.com/facebook/create-react-app/issues/10132 or https://github.com/facebook/create-react-app/issues/3193?
Could you give us more info to help you solve this? For example: what are your npm and node versions?
You can find them by using respectively npm -v and node -v. 👍
Ben hiç birsey bilmiyorum ve ne yapacağımı arastiramiyorum engelliyorlar lütfen yardım ederseniz sevinirnsize minnettar kalirm
Good evening, @JubayerFahim. How are you?
Try using this command to create a new project npx create-react-app my-app && cd my-app && npm start
Que es esto
El dom, 5 de may de 2024, 6:08 p. m., Braian Silva @.***> escribió:
Good evening, @JubayerFahim https://github.com/JubayerFahim. How are you?
Try using this command to create a new project npx create-react-app my-app && cd my-app && npm start
— Reply to this email directly, view it on GitHub https://github.com/facebook/create-react-app/issues/13557#issuecomment-2095008784, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6CSWXZBCOCR63XQATMBRRDZA3CW7AVCNFSM6AAAAABFWR4C5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGAYDQNZYGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hola @Chago2021 ¿Cómo estás? Es un comando para crear un proyecto de React, abrir la carpeta y ejecutar el proyecto.
The error message you're encountering (ENOENT, which stands for "Error NO ENTry") indicates that npm is trying to access a directory or file that does not exist. This usually happens due to issues with the npm or node.js installation, or corrupted paths.
- Verify Node.js and npm Installation node -v npm -v
2.Check the npm Directory Path
3.Clear npm Cache npm cache clean --force
4.Recreate the npm Folder Structure
5.Reinstall npm npm install -g npm
6.Check and Correct Environment Variables
7.Recreate package-lock.json and node_modules rm -rf node_modules package-lock.json npm install
i think try above methods you can solve your problem