Failed to parse json
sudo npm run scan npm ERR! Linux 4.4.0-36-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "scan" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 npm ERR! file /home/oem/Downloads/uber-dash-master/package.json npm ERR! code EJSONPARSE
npm ERR! Failed to parse json npm ERR! Unexpected token '{' at 33:1 npm ERR! { npm ERR! ^ npm ERR! File: /home/oem/Downloads/uber-dash-master/package.json npm ERR! Failed to parse package.json data. npm ERR! package.json must be actual JSON, not just JavaScript. npm ERR! npm ERR! This is not a bug in npm. npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! Please include the following file with any support request: npm ERR! /home/oem/Downloads/uber-dash-master/npm-debug.log
nano npm-debug.log
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'run', 'scan' ] 2 info using [email protected] 3 info using [email protected] 4 verbose stack Error: Failed to parse json 4 verbose stack Unexpected token '{' at 33:1 4 verbose stack { 4 verbose stack ^ 4 verbose stack at parseError (/usr/share/npm/node_modules/read-package-json/read-json.js:379:11) 4 verbose stack at parseJson (/usr/share/npm/node_modules/read-package-json/read-json.js:68:23) 4 verbose stack at /usr/share/npm/node_modules/read-package-json/read-json.js:48:5 4 verbose stack at /usr/share/npm/node_modules/graceful-fs/graceful-fs.js:76:16 4 verbose stack at FSReqWrap.readFileAfterClose as oncomplete 5 verbose cwd /home/oem/Downloads/uber-dash-master 6 error Linux 4.4.0-36-generic 7 error argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "scan" 8 error node v4.2.6 9 error npm v3.5.2 10 error file /home/oem/Downloads/uber-dash-master/package.json 11 error code EJSONPARSE 12 error Failed to parse json 12 error Unexpected token '{' at 33:1 12 error { 12 error ^ 13 error File: /home/oem/Downloads/uber-dash-master/package.json 14 error Failed to parse package.json data. 14 error package.json must be actual JSON, not just JavaScript. 14 error 14 error This is not a bug in npm. 14 error Tell the package author to fix their package.json file. JSON.parse 15 verbose exit [ 1, true ]