Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 22nd, 2012  |  syntax: None  |  size: 1.22 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. What needs to change in this package.json file to work with npm 0.3.0?
  2. npm ERR! JSON.parse Failed to parse package.json data.
  3. npm ERR! JSON.parse Note that package.json must be actual JSON, not
  4. npm ERR! JSON.parse just a JavaScript object.
  5. npm ERR! JSON.parse
  6. npm ERR! JSON.parse This changed in npm 0.3.0, and is not a bug in npm.
  7. npm ERR! JSON.parse Tell the package author to fix their package.json file.
  8.        
  9. { "name": "embedly"
  10. , "version": "0.3.2"
  11. , "description": "Embedly client library for node"
  12. , "homepage": "https://github.com/embedly/embedly-node"
  13. , "keywords": []
  14. , "author":
  15.   { "name": "Bob Corsaro"
  16.   , "email": "bob@embed.ly"
  17.   , "url": "http://www.google.com/profiles/rcorsaro"
  18.   }
  19. , "repository":
  20.   { "type": "git"
  21.   , "url": "git://github.com/embedly/embedly-node"
  22.   }
  23. , "bugs": { "web": "http://github.com/embedly/embedly-node/issues/" }
  24. , "directories":
  25.   { "doc": "./docs"
  26.   , "lib": "./lib"
  27.   , "test": "./test"
  28.   }
  29. , "dependencies": {"hashish": "", "qs": ""}
  30. , "devDependencies": {"vows": ">= 0.5.6"}
  31. , "main": "./lib/embedly.js"
  32. , "scripts": { "test": "vows" }
  33. , "bin":
  34.   { "embedly_oembed": "bin/embedly_oembed.js"
  35.   , "embedly_objectify": "bin/embedly_objectify.js"
  36.   , "embedly_preview": "bin/embedly_preview.js"
  37.   }
  38. }