I am trying to run this react app: https://github.com/JackHeTech/multiplayer-chess-game
It works when I download the repo and do npm install and then npm start in that folder itself.
But when I try to recreate the project myself using create-react-app with these steps (which you mentioned in the video):
npx create-react-app frontend
*copy the required files from repo to frontend folder*
npm install <p1> <p2> ...
npm start
That doesn't work and shows these errors:
Compiling...
C:\Users\username\Documents\Projects\chess_server\frontend\node_modules\react-scripts\scripts\start.js:19
throw err;
^
[Error: ENOENT: no such file or directory, stat 'C:\Users\username\Documents\My Music'] {
errno: -4058,
code: 'ENOENT',
syscall: 'stat',
path: 'C:\\Users\\username\\Documents\\My Music'
}
PS C:\Users\username\Documents\Projects\chess_server\frontend>
Why is it pointing to 'C:\Users\username\Documents\My Music'? I have not seen that path anywhere in your files.
I am trying to run this react app: https://github.com/JackHeTech/multiplayer-chess-game
It works when I download the repo and do npm install and then npm start in that folder itself.
But when I try to recreate the project myself using create-react-app with these steps (which you mentioned in the video):
That doesn't work and shows these errors:
Why is it pointing to 'C:\Users\username\Documents\My Music'? I have not seen that path anywhere in your files.