pokoli/ButiJS — Issue #31: npm install fails
Author: pokoli
Created: 2012-03-05 17:52:27+00:00
State: open
Labels: Bug

With a fresh checkout and trying to get dependencies ```with npm install . ``` Npm fails with the following log

npm ERR! Couldn't read dependencies.
npm ERR! Failed to parse json
npm ERR! Unexpected string
npm ERR! File: /home/pokoli/udl/mepl/tfm/ButiJS2/ButiJS/package.json
npm ERR! JSON.parse Failed to parse package.json data.
npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
npm ERR! JSON.parse
npm ERR! JSON.parse This is not a bug in npm.
npm ERR! JSON.parse Tell the package author to fix their package.json file.
npm ERR!
npm ERR! System Linux 3.0.0-16-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "."
npm ERR! cwd /home/pokoli/udl/mepl/tfm/ButiJS2/ButiJS
npm ERR! node -v v0.6.7
npm ERR! npm -v 1.1.0-beta-10
npm ERR! file /home/pokoli/udl/mepl/tfm/ButiJS2/ButiJS/package.json
npm ERR! code EJSONPARSE
npm ERR! message Failed to parse json
npm ERR! message Unexpected string
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pokoli/udl/mepl/tfm/ButiJS2/ButiJS/npm-debug.log
npm not ok