Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dtabuencav committed May 6, 2017
1 parent adf92a9 commit 45b8a15
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions npm-debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files (x86)\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli '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 7:5
5 verbose stack },
5 verbose stack ^
5 verbose stack at parseError (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:390:11)
5 verbose stack at parseJson (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:79:23)
5 verbose stack at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:48:5
5 verbose stack at C:\Program Files (x86)\nodejs\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 C:\Users\databuen\Documents\azureiotc2d
7 error Windows_NT 10.0.15063
8 error argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "publish"
9 error node v6.9.1
10 error npm v2.15.11
11 error file C:\Users\databuen\Documents\azureiotc2d\package.json
12 error code EJSONPARSE
13 error Failed to parse json
13 error Trailing comma in object at 7:5
13 error },
13 error ^
14 error File: C:\Users\databuen\Documents\azureiotc2d\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 @@ -3,7 +3,7 @@
"version" : "0.0.9",
"description" : "node to send Azure IoT C2D",
"author": {
"name": "Daniel Tabuenca",
"name": "Daniel Tabuenca Velasco"
},
"dependencies": {
"azure-iothub": "1.1.10",
Expand Down

0 comments on commit 45b8a15

Please sign in to comment.