Refusing to install Gulp as a dependency of itself

Asked

Viewed 74 times

0

When I run:

npm install --save-dev Gulp

The mistake happens:

npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i" "gulp"
npm ERR! node v6.11.2
npm ERR! npm  v3.10.10
npm ERR! code ENOSELF

npm ERR! Refusing to install gulp as a dependency of itself

Where the important is:

 npm ERR! Refusing to install gulp as a dependency of itself

1 answer

4


I found that I can’t call my project in the package.json from Gulp, so I switched to gulpProject

{
  "name": "gulpProject",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "gulp": "^3.9.1"
  }
}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.