Skip to content

Instantly share code, notes, and snippets.

@jackdempsey
Created January 16, 2011 18:43
Show Gist options
  • Save jackdempsey/782028 to your computer and use it in GitHub Desktop.
Save jackdempsey/782028 to your computer and use it in GitHub Desktop.
~ > npm install cssom@0.2.0
npm it worked if it ends with ok
npm configfile /Users/jack/.npmrc
npm cli [ 'install', 'cssom@0.2.0' ]
npm version 0.1.20
npm install pkg cssom@0.2.0
npm GET cssom/0.2.0
npm fetch http://registry.npmjs.org/cssom/-/cssom-0.2.0.tgz to /usr/local/Cellar/node/0.1.103/lib/node/.npm/.cache/cssom/0.2.0/package.tgz
npm content-length 33003
npm downloaded 4%
npm downloaded 18%
npm downloaded 31%
npm downloaded 44%
npm downloaded 57%
npm downloaded 70%
npm downloaded 83%
npm downloaded 97%
npm fetch finished
npm bytes 33003
npm exec tar "xzf" "/usr/local/Cellar/node/0.1.103/lib/node/.npm/.cache/cssom/0.2.0/package.tgz" "--strip" "1" "-C" "/usr/local/Cellar/node/0.1.103/lib/node/.npm/.cache/cssom/0.2.0/package"
npm fail Error installing cssom@0.2.0
npm ! Error: Failed to parse json
Unexpected token }
{
"name": "cssom",
"description": "CSS Object Model implementation and CSS parser",
"keywords": ["CSS", "CSSOM", "parser", "styleSheet"],
"version": "0.2.0",
"homepage": "https://github.com/NV/CSSOM",
"author": "Nikita Vasilyev <me@elv1s.ru>",
"repository": {
"type": "git",
"url": "git://github.com/NV/CSSOM.git"
},
"bugs": {
"web": "https://github.com/NV/CSSOM/issues"
},
"directories": {
"doc": "./doc",
"lib": "./lib",
"test": "./test"
},
"main": "./lib/index.js",
"engines": {
"node": ">=0.2.0"
},
"licenses": [
{
"type": "MIT",
"url": "http://creativecommons.org/licenses/MIT/"
}
],
}
at /usr/local/Cellar/npm/0.1.20/libexec/lib/utils/read-json.js:38:13
at P (/usr/local/Cellar/npm/0.1.20/libexec/lib/utils/read-json.js:27:39)
at fs:83:13
at node.js:267:9
npm failure try running: 'npm help install'
npm failure Report this *entire* log at <http://github.com/isaacs/npm/issues>
npm failure or email it to <npm-@googlegroups.com>
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment