kentcdodds / testing-node-apps

Test Node.js Backends on TestingJavaScript.com
https://testingjavascript.com/courses/test-node-js-backends
Other
384 stars 204 forks source link

Unable to complete workshop setup #14

Closed byronthe123 closed 2 years ago

byronthe123 commented 2 years ago

When running node setup, I got the following error:


npm ERR! code ENOLOCAL
npm ERR! Could not install from "Injeeli\AppData\Roaming\npm-cache\_npx\25680" as it does not contain a package.json file.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\-------\AppData\Roaming\npm-cache\_logs\2021-11-02T01_09_14_685Z-debug.log
Install for [ 'git+https://gist.github.com/bb452ffe53a5caa3600197e1d8005733.git' ] failed with code 1
byronthe123 commented 2 years ago

I was able to finish the setup using the following commands, as per the instructions:


npm install
npm run validate