fullstack-tutorial icon indicating copy to clipboard operation
fullstack-tutorial copied to clipboard

Dependencies not installing properly

Open KristoferKwan opened this issue 5 years ago • 0 comments

I tried to install the packages from client in the start folder. This worked, but I was told that there were 8 vulnerabilities, 4 of them being high. I went to npm audit fix, although it failed due to ENOENT: no such file or directory for a sourcemap file. I tried it again, and it worked with some warnings. When i went to start the client server (after placing the starter code into index.tsx), my compiler indicated:

Could not find a required file. Name: index.js Searched in: /mnt/c/Users/User/documents/apollo-tut/start/client/src npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] start: react-scripts start npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/User/.npm/_logs/2020-02-21T15_24_19_779Z-debug.log

Thanks in advance!

KristoferKwan avatar Feb 21 '20 15:02 KristoferKwan