question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cannot install with npm

See original GitHub issue

I tried to install new gulp with instructions from gulp-quickstart, but it does not work: npm install --global gulp-cli results in

npm ERR! Unexpected end of JSON input while parsing near '...mckVt2DO5KIEuctTGJAyd'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\username\AppData\Roaming\npm-cache\_logs\2019-02-18T09_20_54_979Z-debug.log

Since installing modules other than gulp/gulp-cli works, there seems to be a problem with the gulp published to npmjs. All this on Win10 x64.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
pardumancommented, Dec 26, 2019

Something very strange just happened: to get more information, I added --verbose to the install command, and suddenly it worked. Any explanation for this?

i got into same problem i got it worked by adding sudo in front and --verbose in end

2reactions
ray007commented, Feb 22, 2019

Something very strange just happened: to get more information, I added --verbose to the install command, and suddenly it worked. Any explanation for this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Npm can't install any packages - node.js - Stack Overflow
my problem solves after editing npm-config file. for edit that file npm config edit. my npm config file
Read more >
How to fix npm install command not working
The error above happens when npm can't be found under the PATH environment variable. First, you need to make sure that npm is...
Read more >
5 Ways to Fix the Npm Install Not Working Issue
Way 1. Make Sure Npm Is Installed · Way 2. Make Sure There Is a Package.json File · Way 3. Delete Lock File...
Read more >
npm command not found | Career Karma
The Npm command not found error can appear when you install or upgrade npm. On Windows, the cause of this error could be...
Read more >
Problem with npm install - M220JS - MongoDB
Problem with npm install · Remove the node_modules folder inside the project folder where the package. · Run npm update -g npm ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found