Gulp local installation issues

  node.js, question

图片描述

Node has already been installed locally, and it is possible to install gulp globally. However, once gulp is installed in the specified project directory, I will prompt this. I am new to it, and I really don’t know why. I have checked many online and said that it is ok only if npm install gulp –save-dev, but I really can’t install it here. I have successfully installed it once before, and it won’t be caused by the problem of node version, will it? Solving.

Looking at the error message, I feel that your app name for package.json is gulp?

Then look at these two issue

https://github.com/sindresorhus/gulp-imagemin/issues/7
https://github.com/npm/npm/issues/9165