This repository has been archived by the owner on Mar 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
package.json file not found on install #206
Comments
You should update your node and npm installation. I don't know which version of npm node 0.8.17 included, but it might be incompatible with one of the packages you tried to install. |
This was referenced Jul 10, 2020
This was referenced Aug 17, 2020
This was referenced Aug 28, 2020
This was referenced Oct 19, 2020
This was referenced Jan 17, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I received a file not found error referencing a package.json file. After creating the file the errors continue. Should this file be installed by default with default data?
npm ERR! Error: No 'name' field
npm ERR! at validName (/usr/local/Cellar/node/0.8.17/lib/node_modules/npm/node_modules/read-package-json/read-json.js:557:40)
npm ERR! at final (/usr/local/Cellar/node/0.8.17/lib/node_modules/npm/node_modules/read-package-json/read-json.js:340:27)
npm ERR! at /usr/local/Cellar/node/0.8.17/lib/node_modules/npm/node_modules/read-package-json/read-json.js:140:33
npm ERR! at cb (/usr/local/Cellar/node/0.8.17/lib/node_modules/npm/node_modules/slide/lib/async-map.js:48:11)
npm ERR! at /usr/local/Cellar/node/0.8.17/lib/node_modules/npm/node_modules/read-package-json/read-json.js:320:48
npm ERR! at fs.js:117:20
npm ERR! at /usr/local/Cellar/node/0.8.17/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:53:5
npm ERR! at /usr/local/Cellar/node/0.8.17/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:62:5
npm ERR! at Object.oncomplete (fs.js:297:15)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com
npm ERR! System Darwin 11.4.2
npm ERR! command "/usr/local/Cellar/node/0.8.17/bin/node" "/usr/local/bin/npm" "install" "-g" "generator-angular"
npm ERR! cwd /Users/noone/Dropbox/AppAngular
npm ERR! node -v v0.8.17
npm ERR! npm -v 1.2.0
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/noone/Dropbox/AppAngular/npm-debug.log
npm ERR! not ok code 0
The text was updated successfully, but these errors were encountered: