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.

NPM Refusing to install gulp as a dependency of itself

See original GitHub issue

Using Node 2.15.8 and NodeJS 4.4.7, as well as Git Bash (Using MINGW64) that came with Git 2.9.0 on a Windows 10 64-bit system

I installed NodeJS earlier on today and decided to give Gulp a shot. I followed these exact instructions until I got to Step 3, where after typing in npm install --save-dev gulp, the console displays the following message:

npm WARN install Refusing to install gulp as a dependency of itself

I’ve tried reinstalling NodeJS a few times now, and I’m at a loss at what’s wrong here.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

6reactions
bigbeno37commented, Jul 13, 2016

It turns out that when I was going through the npm init stage I was making my project called ‘gulp’, which seemed to clash with installing Gulp. All is working fine now.

0reactions
suresmaharjan-zzcommented, Feb 28, 2018

Thanks it worked I was sorting same problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - Refusing to install 'module' as a dependency of itself
The problem was in the name of my own application. In package.json, I accidently named it gulp { "name": "gulp", "version": "1.0.0", ...
Read more >
NPM Refusing to Install Package as a Dependency of Itself
This looks like a serious error. Winston is not able to install a dependency of itself. What is the solution? Let's inspect the...
Read more >
Node.js – npm WARN install Refusing to install hapi as a ... - iTecNote
npm WARN install Refusing to install hapi as a dependency of itself ... I tried the same process with a folder gulp and...
Read more >
Common errors | npm Docs
Broken npm installation · On Mac or Linux, reinstall npm. · Windows: If you're on Windows and you have a broken installation, the...
Read more >
NodeJS - npm install errors on Windows - YouTube
NOTE: If you are using Windows 10, you will want to open an Administrator PowerShell (right-click and choose "Run as administrator").
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