Skip to content

Commit

Permalink
trailing comma fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuri committed Jul 25, 2016
1 parent f439329 commit b74939b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions npm-debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'publish' ]
2 info using [email protected]
3 info using [email protected]
4 verbose publish [ '.' ]
5 verbose stack Error: Failed to parse json
5 verbose stack Trailing comma in object at 10:3
5 verbose stack },
5 verbose stack ^
5 verbose stack at parseError (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:390:11)
5 verbose stack at parseJson (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:79:23)
5 verbose stack at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:48:5
5 verbose stack at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16
5 verbose stack at tryToString (fs.js:455:3)
5 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)
6 verbose cwd /Users/jan/Dev/github/ng2-uploader
7 error Darwin 15.6.0
8 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "publish"
9 error node v6.3.1
10 error npm v3.10.5
11 error file /Users/jan/Dev/github/ng2-uploader/package.json
12 error code EJSONPARSE
13 error Failed to parse json
13 error Trailing comma in object at 10:3
13 error },
13 error ^
14 error File: /Users/jan/Dev/github/ng2-uploader/package.json
15 error Failed to parse package.json data.
15 error package.json must be actual JSON, not just JavaScript.
15 error
15 error This is not a bug in npm.
15 error Tell the package author to fix their package.json file. JSON.parse
16 verbose exit [ 1, true ]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "./ng2-uploader.ts",
"author": "Jan Kuri <[email protected]>",
"scripts": {
"postinstall": "typings install",
"postinstall": "typings install"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit b74939b

Please sign in to comment.