Z
Z
ZaharLesniak2020-10-14 13:31:50
Layout
ZaharLesniak, 2020-10-14 13:31:50

Installed Gulp locally and says "unsupported gulp version". What to do?

Installed Gulp globally. Then I installed it locally in VSCode, I check its performance
(via the gulp command in the terminal) and it says "unsupported gulp version". Can you please help?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rag'n' Code Man, 2020-10-14
@iDmitriyWinX

Mistake #1: Installing Gulp globally.
Solution: Install Gulp-CLI
globally Next: What does local mean in VSCode? Plugin or something?
Go to the project folder, write in the terminal npm init, then npm i gulp --save-dev
Great, Gulp is installed in the project and ready to use.
Write your gulpfile.js IN THE ROOT OF YOUR APP (nothing will happen without it).
Now go to the terminal, write gulp(if there is a "default" task) and that's it, it starts working. If you have a default task instead of, say, some other name, then we write the same thing in the console, only add the task name to the endgulp имя_таска

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question