Не ставится gulp

Всем привет!

Столкнулся вот с такой проблемой. Есть один проект - там верстка, делал с использованием gulp4, раньше всё работало. Потом спустя какое-то время, возможно обновлял NodeJS, но gulp теперь не устанавливается. Вот файл packaje.json:

{
  "name": "gulp-template",
  "version": "1.0.0",
  "description": "",
  "main": "gulpfile.js",
  "scripts": {
    "start": "gulp start",
    "build": "gulp build",
    "lighthouse": "gulp build && gulp lighthouse",
    "test": "editorconfig-cli && stylelint ./src/styles/**/*.scss --syntax scss && eslint ./src/js",
    "stylelint-fix": "stylelint ./src/styles/**/*.scss --fix --syntax scss",
    "eslint-fix": "eslint ./src/js/** --fix"
  },
  "keywords": [],
  "author": "Denys Vykhrystiuk",
  "license": "ISC",
  "devDependencies": {
    "@babel/core": "^7.8.3",
    "@babel/preset-env": "^7.8.3",
    "@htmlacademy/editorconfig-cli": "^1.0.0",
    "browser-sync": "^2.26.7",
    "chrome-launcher": "^0.12.0",
    "del": "^5.1.0",
    "editorconfig-cli": "^0.3.0",
    "eslint": "^6.8.0",
    "eslint-config-htmlacademy": "^0.5.2",
    "eslint-config-standard": "^14.1.0",
    "eslint-plugin-import": "^2.20.0",
    "eslint-plugin-node": "^11.0.0",
    "eslint-plugin-promise": "^4.2.1",
    "eslint-plugin-standard": "^4.0.1",
    "gulp": "^4.0.2",
    "gulp-autoprefixer": "^7.0.1",
    "gulp-babel": "^8.0.0",
    "gulp-clean-css": "^4.2.0",
    "gulp-eslint": "^6.0.0",
    "gulp-html-bem-validator": "^1.0.5",
    "gulp-imagemin": "^7.1.0",
    "gulp-npm-dist": "^1.0.3",
    "gulp-npm-files": "^0.1.3",
    "gulp-plumber": "^1.2.1",
    "gulp-pug": "^4.0.1",
    "gulp-pug-linter": "^1.3.0",
    "gulp-rename": "^2.0.0",
    "gulp-sass": "^4.0.2",
    "gulp-shorthand": "^1.1.0",
    "gulp-sourcemaps": "^2.6.5",
    "gulp-stylelint": "^13.0.0",
    "gulp-svgstore": "^7.0.1",
    "gulp-terser": "^1.2.0",
    "gulp-w3c-html-validator": "^1.4.4",
    "husky": "^4.2.3",
    "lighthouse": "^5.6.0",
    "node-sass": "^4.13.1",
    "open": "^7.0.2",
    "stylelint": "^13.0.0",
    "stylelint-config-htmlacademy": "^0.1.4",
    "stylelint-config-standard": "^19.0.0",
    "stylelint-config-standard-scss": "^1.1.0",
    "stylelint-scss": "^3.13.0"
  },
  "dependencies": {
    "normalize.css": "^8.0.1"
  },
  "editorconfig-cli": [
    "*.json",
    "*.js",
    "source/*.html",
    "source/js/**/*.js",
    "source/img/**/*.svg",
    "source/sass/**/*.{sass,scss}"
  ],
  "husky": {
    "hooks": {
      "pre-commit": "npm run test"
    }
  }
}

Версия NodeJS - 16.17.0 Когда пробую посмотреть версию gulp (gulp -v), вот что:

CLI version: 2.3.0 Local version: unknown

При попытке установить всё что в package.json(npm install) получаю:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/stylelint
npm ERR!   dev stylelint@"^13.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer stylelint@"^8.3.0 || ^9.0.0 || ^10.0.0" from [email protected]
npm ERR! node_modules/stylelint-config-standard-scss
npm ERR!   dev stylelint-config-standard-scss@"^1.1.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\Юрий\AppData\Local\npm-cache\eresolve-report.txt for a full report.
 
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Юрий\AppData\Local\npm-cache\_logs\2022-08-21T13_04_08_415Z-debug-0.log

Помогите пожалуйста, как это можно пофиксить?


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