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

Met npm ERR when installing #2

Open
xeoshow opened this issue Jan 25, 2019 · 1 comment
Open

Met npm ERR when installing #2

xeoshow opened this issue Jan 25, 2019 · 1 comment

Comments

@xeoshow
Copy link

xeoshow commented Jan 25, 2019

Hello,

I am trying to set up, while got below error, how should I do? Thanks!

D:\gitrepository\ns-vue-codeshare-demo>npm i
npm WARN deprecated [email protected]: Switch to the `bfj` package for fixes and new features!
npm ERR! Unexpected end of JSON input while parsing near '....1.tgz"},"engines":{"'
@xeoshow
Copy link
Author

xeoshow commented Jan 25, 2019

Below are from log file:

2336 silly resolveWithNewModule [email protected] checking installable status
2337 silly pacote range manifest for indent-string@^2.1.0 fetched in 2ms
2338 silly resolveWithNewModule [email protected] checking installable status
2339 http fetch GET 200 https://registry.npmjs.org/repeating 2ms (from cache)
2340 silly fetchPackageMetaData error for repeating@^2.0.0 Unexpected end of JSON input while parsing near '....1.tgz"},"engines":{"'
2341 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '....1.tgz"},"engines":{"'
2341 verbose stack     at JSON.parse (<anonymous>)
2341 verbose stack     at parseJson (C:\Program Files\nodejs\node_modules\npm\node_modules\pacote\node_modules\make-fetch-happen\node_modules\node-fetch-npm\node_modules\json-parse-better-errors\index.js:7:17)
2341 verbose stack     at consumeBody.call.then.buffer (C:\Program Files\nodejs\node_modules\npm\node_modules\pacote\node_modules\make-fetch-happen\node_modules\node-fetch-npm\src\body.js:96:50)
2341 verbose stack     at <anonymous>
2341 verbose stack     at process._tickCallback (internal/process/next_tick.js:188:7)
2342 verbose cwd D:\gitrepository\ns-vue-codeshare-demo
2343 verbose Windows_NT 10.0.17134
2344 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i"
2345 verbose node v8.9.0
2346 verbose npm  v5.5.1
2347 error Unexpected end of JSON input while parsing near '....1.tgz"},"engines":{"'
2348 verbose exit [ 1, true ]

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

1 participant