K
K
ktotitakoy2022-02-27 20:25:46
gulp.js
ktotitakoy, 2022-02-27 20:25:46

Why does Gulp throw errors when connecting?

(I prescribe)-> $ npm i gulp -D

(And it gives me, below. I tried to register all the tips, but it didn’t help)

up to date, audited 350 packages in 2s

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

6 high severity vulnerabilities

To address issues that do not require attention, run:
npm audit fix

To address all issues (including breaking changes), run:
npm audit fix --force

Run `npm audit` for details.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey delphinpro, 2022-02-28
@delphinpro

ralphich , maybe you still have package-lock.json from a previous installation? Well, they installed it, deleted package.json and left the lock and tried again? Or copied from where...
Or you already have a node_modules folder in the current directory, and gulp is already installed in it.
In short, try in a clean directory and everything will work out.
Well, or delete node_modules, package.json and package-lock.json

S
SNeverov, 2022-03-03
@SNeverov

I have the same thing. Did so

npm audit fix --force

He supposedly corrected some mistakes. Further normally without problems put packages. But diligently does not want to install gulp-autoprefixer, it gives some errors (the question is about errors here )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question