メモです。
##モジュールインストールでこけました
npm WARN package.json nw-demo@ No description
npm WARN package.json nw-demo@ No repository field.
npm WARN package.json nw-demo@ No README data
npm ERR! Failed to parse json
npm ERR! Unexpected end of input
npm ERR! File: /Users/ryousuke/.npm/readable-stream/1.0.33-1/package/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 Darwin 13.4.0
npm ERR! command "/Users/ryousuke/.nvm/v0.10.29/bin/node" "/Users/ryousuke/.nvm/v0.10.29/bin/npm" "install" "request"
npm ERR! cwd /Users/ryousuke/Sites/offside/hellonodewebkit
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! file /Users/ryousuke/.npm/readable-stream/1.0.33-1/package/package.json
npm ERR! code EJSONPARSE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/ryousuke/Sites/offside/hellonodewebkit/npm-debug.log
npm ERR! not ok code 0
###一度npm cache clean
したらいい感じになってくれました。
$npm cache clean
$npm install