justhacker@justhacker-ThinkPad-Edge-E440:~/tools/codes/microblog$ npm update
npm ERR! Failed to parse json
npm ERR! Unexpected string
npm ERR! File: /home/justhacker/tools/codes/microblog/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! System Linux 3.5.0-48-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update"
npm ERR! cwd /home/justhacker/tools/codes/microblog
npm ERR! node -v v0.11.13-pre
npm ERR! npm -v 1.4.6
npm ERR! file /home/justhacker/tools/codes/microblog/package.json
npm ERR! code EJSONPARSE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/justhacker/tools/codes/microblog/npm-debug.log
npm ERR! not ok code 0
justhacker@justhacker-ThinkPad-Edge-E440:~/tools/codes/microblog$ npm install
npm ERR! install Couldn't read dependencies
npm ERR! Failed to parse json
npm ERR! Unexpected string
npm ERR! File: /home/justhacker/tools/codes/microblog/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! System Linux 3.5.0-48-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/justhacker/tools/codes/microblog
npm ERR! node -v v0.11.13-pre
npm ERR! npm -v 1.4.6
npm ERR! file /home/justhacker/tools/codes/microblog/package.json
npm ERR! code EJSONPARSE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/justhacker/tools/codes/microblog/npm-debug.log
npm ERR! not ok code 0
package裏麵的那個配置寫錯了。