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.
But when I try to make the project myself using create-react-app with these steps:
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 used that path anywhere in my files.
Basically I am trying to recreate the project from the repo on my own. But it's giving me the error given above.