При попытке выполнить команду gulp через терминал он выдает -bash: gulp: command not found

MacBook-Pro-Aleksandr:mavic aleksandr$ npm i gulp --save-dev
npm WARN [email protected] requires a peer of jquery@>=1.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.

+ [email protected]
updated 1 package and audited 698 packages in 4.376s

10 packages are looking for funding
  run `npm fund` for details

found 3 vulnerabilities (2 low, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details
MacBook-Pro-Aleksandr:mavic aleksandr$ npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sensible defaults.

See `npm help init` for definitive documentation on these fields
and exactly what they do.

Use `npm install <pkg>` afterwards to install a package and
save it as a dependency in the package.json file.

Press ^C at any time to quit.
package name: (mavic) 
version: (1.0.0) 
git repository: 
keywords: 
license: (ISC) 
About to write to /Users/aleksandr/Desktop/mavic/package.json:

{
  "name": "mavic",
  "version": "1.0.0",
  "description": "start gulp",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "Vadim Prokopchuk",
  "license": "ISC",
  "devDependencies": {
    "browser-sync": "^2.26.5",
    "del": "^5.0.0",
    "gulp": "^4.0.2",
    "gulp-autoprefixer": "^6.1.0",
    "gulp-concat": "^2.6.1",
    "gulp-rename": "^1.4.0",
    "gulp-sass": "^4.0.2",
    "gulp-uglify": "^3.0.2",
    "normalize.css": "^8.0.1",
    "sass": "^1.26.10"
  },
  "dependencies": {
    "gulp-install": "^1.1.0",
    "slick-carousel": "^1.8.1"
  }
}


Is this OK? (yes) y
MacBook-Pro-Aleksandr:mavic aleksandr$ gulp
bash: gulp: command not found
MacBook-Pro-Aleksandr:mavic aleksandr$ 

Почему когда я ввожу команду gulp после установки он выдает bash: gulp: command not found


Ответы (0 шт):