Home > Error No > Error No 'name' Field Npm

Error No 'name' Field Npm


Everything is fine, false alarm. There are 2 types of packages you can list: "dependencies": these packages are required by your application in production "devDependencies": these packages are only needed for development and testing Manually editing Why is nuclear waste more dangerous than the original nuclear fuel? Bryan Aug 15, 2013 Project Member #1 [email protected] (No comment was entered for this change.) Summary: NPM package.json needs name and version (was: npm package.json needs name and version) Status: Check This Out

not ok code 0 I've searched for other people with this issue, but haven't been able to find any fixes. Additional logging details can be found in: npm ERR! /Users/btaylor/Home/r/rails-projects/scheduling-rc1/app/assets/fullcalendar/npm-debug.log npm ERR! cwd /Users/btaylor/Home/r/rails-projects/scheduling-rc1/app/assets/fullcalendar npm ERR! at fs.js:117:20 npm ERR!

Package.json Version

Additional logging details can be found in: npm ERR! /Users/valpo/sites/vuweb/npm-debug.log npm ERR! Customizing the init process It is also possible to totally customize the information created and the questions asked during the init process. No name provided in package.json #14056 Closed nitish1986 opened this Issue Sep 23, 2016 · 1 comment Labels support Milestone No milestone Assignees No one assigned 2 participants

does not correlate to mine but it worked. at Object.oncomplete (fs.js:297:15) npm ERR! at final (/usr/local/Cellar/node/0.8.18/lib/node_modules/npm/node_modules/read-package-json/read-json.js:340:27) npm ERR! Npm Install -g The latest in date is mysql-native: npm install mysql-native npm info it worked if it ends with ok npm info version 0.1.27-12 npm info fetch http://registry.npmjs.org/mysql-native/-/mysql-native-0.4.1.tgz npm ERR!

By default, npm will look in your home directory. ~/.npm-init.js A simple .npm-init.js could look something like this: module.exports = {  customField: 'Custom Field',  otherCustomField: 'This field is really cool'} Running npm init with this file in your home directory, would output Package.json Example or email it to: npm ERR! This is fixed with a package.json like this: { "author": "", "name": "asd", "version": "0.0.0", "dependencies": {}, "devDependencies": {} } Ran into this because not ok code 0 npm member nathan7 commented Feb 4, 2013 ..does your package.json have a name field? npm ERR!

It only would be more 'comfortable'. argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" npm ERR! parent: 'ffi' } npm ERR! We recommend upgrading to the latest Safari, Google Chrome, or Firefox.

Package.json Example

You signed out in another tab or window. Also do note that npm install -g will install your current package globally. Package.json Version If you need help, you may report this log at: npm ERR! npm ERR! Update Npm Please try running this command again as root/Administrator.

npm ERR! Or is there any best practice? at final (C:\Program Files\nodejs\node_modules\npm\node_modules\re d-package-json\read-json.js:349:17) npm ERR! at then (C:\Program Files\nodejs\node_modules\npm\node_modules\rea -package-json\read-json.js:126:33) npm ERR! Npm Version

Error: No 'name' field npm ERR! install Couldn't read dependencies npm ERR! npm WARN package.json [email protected] No README data npm ERR! at /usr/share/npm/lib/utils/read-json.js:166:33 npm ERR!

I think I should read the bower documentation precisely (and some tutorials). try running: 'npm help install' npm ERR! node.js git mongodb npm share|improve this question asked Oct 23 '14 at 22:37 Ryan McGarvey 8329 add a comment| 3 Answers 3 active oldest votes up vote 3 down vote accepted

try running: 'npm help install' npm ERR!

npm ERR! cat package.json, cat node_modules/grunt/package.json. name and version are the two required parameters in a package.json, and without them, npm's not going to be able to do anything with that package.json. at P (/usr/local/lib/node/.npm/npm/0.1.27-12/package/lib/utils/read-json.js:38:36) npm ERR!

Any idea why it worked last time? –Ryan McGarvey Oct 23 '14 at 22:54 I don't know why it would have ran "last time." –mscdex Oct 23 '14 at Reload to refresh your session. at /usr/local/Cellar/node/0.8.16/lib/node_modules/npm/node_modules/read-package-json/read-json.js:335:40 npm ERR! If you have a package.json file in your directory and you run npm install, then npm will look at the dependencies that are listed in that file and download the latest

Do I have to create a components.json file with the frontend dependencies? Report this entire log at http://github.com/isaacs/npm/issues npm ERR! Need help? or email it to [email protected] npm not ok renault commented Sep 10, 2010 I have the same error on my Ubuntu machine for all packages I try to install.

At age 25, is it still okay to wear dental braces to work? or email it to: npm ERR! npm ERR! You signed in with another tab or window. at P (/usr/local/lib/node/.npm/npm/0.1.27-12/package/lib/utils/read-json.js:38:36) npm ERR!

asked 2 years ago viewed 8150 times active 1 year ago Upcoming Events 2016 Community Moderator Election ends in 2 days Related 687How can I update Node.js and npm to the If you need help, you may report this log at: npm ERR! npm ERR! You'll need to create an attribute in the package object called dependencies that points to an object. So, is there a way to tell bower to search for the default components.json instead of a package.json file?

share|improve this answer answered Aug 20 '15 at 8:06 Abdul Hameed 3801314 add a comment| up vote 1 down vote You need a version in your package.json, as indicated here: https://www.npmjs.org/doc/files/package.json.html share|improve this answer edited Oct 23 '14 at 22:49 Elyas74 366217 answered Oct 23 '14 at 22:40 Brian Henry 2,5251611 add a comment| Your Answer draft saved draft discarded Sign npm ERR! You signed in with another tab or window.

Back to list Status: Released Owner: ---- Closed: Sep 2013 Type-Bug milestone-1.6.4 Sign in to add a comment Reported by [email protected], Mar 30, 2013 Tried to build from github C:\wamp\www\NitsEdit\npm-debug.log I've installed node.js and npm to the latest version which I downloaded: node -v v6.6.0 npm -v 3.10.3 My package.json file contains: { "private": true, "scripts": { "prod": "gulp --production", npm v2.1.11 npm ERR! From the log, I think what is happening is that you are running npm install -g in a directory whose package.json does not contain a "name" field.

System Darwin 11.4.2 npm ERR! However, this package does not have a "name", which is an absolutely necessary field to have.