Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant download at npm #2

Open
hershyheilpern opened this issue Jan 5, 2018 · 1 comment
Open

cant download at npm #2

hershyheilpern opened this issue Jan 5, 2018 · 1 comment

Comments

@hershyheilpern
Copy link

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'pdf-text' ]
2 info using [email protected]
3 info using [email protected]
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly rollbackFailedOptional Starting
8 silly rollbackFailedOptional Finishing
9 silly runTopLevelLifecycles Finishing
10 silly install printInstalled
11 verbose stack Error: Failed to parse json
11 verbose stack Trailing comma in object at 10:4
11 verbose stack },
11 verbose stack ^
11 verbose stack at parseError (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:390:11)
11 verbose stack at parseJson (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:79:23)
11 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:48:5
11 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16
11 verbose stack at tryToString (fs.js:455:3)
11 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)
12 verbose cwd E:\Downloads\temp pdf test
13 error Windows_NT 10.0.16299
14 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "pdf-text"
15 error node v6.9.2
16 error npm v3.10.9
17 error file E:\Downloads\temp pdf test\package.json
18 error code EJSONPARSE
19 error Failed to parse json
19 error Trailing comma in object at 10:4
19 error },
19 error ^
20 error File: E:\Downloads\temp pdf test\package.json
21 error Failed to parse package.json data.
21 error package.json must be actual JSON, not just JavaScript.
21 error
21 error This is not a bug in npm.
21 error Tell the package author to fix their package.json file. JSON.parse
22 verbose exit [ 1, true ]

@jd-carroll
Copy link

I think you had better read the output you listed... Your problem is in plain text!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants