Skip to content

Commit

Permalink
corrected file
Browse files Browse the repository at this point in the history
  • Loading branch information
dtabuencav committed May 5, 2017
1 parent 6e04505 commit 7062a30
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 3 deletions.
48 changes: 48 additions & 0 deletions npm-debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
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 'install',
1 verbose cli '.',
1 verbose cli '-g' ]
2 info using [email protected]
3 info using [email protected]
4 verbose install initial load of C:\Users\databuen\AppData\Roaming\npm\package.json
5 verbose readDependencies loading dependencies from C:\Users\databuen\AppData\Roaming\npm\package.json
6 silly cache add args [ '.', null ]
7 verbose cache add spec .
8 silly cache add parsed spec Result {
8 silly cache add raw: '.',
8 silly cache add scope: null,
8 silly cache add name: null,
8 silly cache add rawSpec: '.',
8 silly cache add spec: 'C:\\Users\\databuen\\Documents\\azureiotc2d',
8 silly cache add type: 'directory' }
9 error addLocal Could not install C:\Users\databuen\Documents\azureiotc2d
10 verbose stack Error: Failed to parse json
10 verbose stack Trailing comma in object at 8:4
10 verbose stack },
10 verbose stack ^
10 verbose stack at parseError (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:390:11)
10 verbose stack at parseJson (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:79:23)
10 verbose stack at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:48:5
10 verbose stack at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16
10 verbose stack at tryToString (fs.js:455:3)
10 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)
11 verbose cwd C:\Users\databuen\Documents\azureiotc2d
12 error Windows_NT 10.0.15063
13 error argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "." "-g"
14 error node v6.9.1
15 error npm v2.15.11
16 error file C:\Users\databuen\Documents\azureiotc2d\package.json
17 error code EJSONPARSE
18 error Failed to parse json
18 error Trailing comma in object at 8:4
18 error },
18 error ^
19 error File: C:\Users\databuen\Documents\azureiotc2d\package.json
20 error Failed to parse package.json data.
20 error package.json must be actual JSON, not just JavaScript.
20 error
20 error This is not a bug in npm.
20 error Tell the package author to fix their package.json file. JSON.parse
21 verbose exit [ 1, true ]
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"keywords": [ "node-red" ],
"node-red" : {
"nodes": {
"sample": "azureiotc2d.js"
"azureiotc2d": "azureiotc2d.js"
}
}
"author": {
"name": "Daniel Tabuenca"
},
}
}
}

0 comments on commit 7062a30

Please sign in to comment.