My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1762: NPM package.json needs name and version
3 people starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Sep 2013


Sign in to add a comment
 
Reported by B.taylor...@gmail.com, Mar 30, 2013
Tried to build from github got:

Bryans-MacBook-Air:fullcalendar btaylor$ npm install
npm ERR! install Couldn't read dependencies
npm ERR! Error: No 'name' field
npm ERR!     at validName (/usr/local/Cellar/node/0.8.16/lib/node_modules/npm/node_modules/read-package-json/read-json.js:557:40)
npm ERR!     at final (/usr/local/Cellar/node/0.8.16/lib/node_modules/npm/node_modules/read-package-json/read-json.js:340:27)
npm ERR!     at /usr/local/Cellar/node/0.8.16/lib/node_modules/npm/node_modules/read-package-json/read-json.js:140:33
npm ERR!     at cb (/usr/local/Cellar/node/0.8.16/lib/node_modules/npm/node_modules/slide/lib/async-map.js:48:11)
npm ERR!     at /usr/local/Cellar/node/0.8.16/lib/node_modules/npm/node_modules/read-package-json/read-json.js:335:40
npm ERR!     at fs.readFile (fs.js:176:14)
npm ERR!     at fs.close (/usr/local/Cellar/node/0.8.16/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:90: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 "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/btaylor/Home/r/rails-projects/scheduling-rc1/app/assets/fullcalendar
npm ERR! node -v v0.8.16
npm ERR! npm -v 1.1.71
npm ERR! 
npm ERR! 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! not ok code 0


added name and version to package.json to get dependancies to install:

Used version from an example package.json on npm's git.. does not correlate to mine but it worked. Was able to npm install after 


{
  "name": "npm",
  "version": "1.2.15",
  "devDependencies": {
...
...



Bryan


Aug 15, 2013
Project Member #1 adamrs...@gmail.com
(No comment was entered for this change.)
Summary: NPM package.json needs name and version (was: npm package.json needs name and version)
Status: Reproducing
Labels: Type-Bug
Aug 28, 2013
Project Member #2 adamrs...@gmail.com
(No comment was entered for this change.)
Labels: milestone-1.6.4
Aug 28, 2013
Project Member #3 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Accepted
Aug 31, 2013
Project Member #4 adamrs...@gmail.com
https://github.com/arshaw/fullcalendar/commits/v1.6.4
Status: Implemented
Sep 1, 2013
Project Member #5 adamrs...@gmail.com
this has been released v1.6.4
https://github.com/arshaw/fullcalendar/blob/v1.6.4/changelog.txt
Status: Released
Sign in to add a comment

Powered by Google Project Hosting