S
S
Sergey Vasenin2019-03-13 22:43:17
Node.js
Sergey Vasenin, 2019-03-13 22:43:17

Can't run gulp problem with gulp sass?

Good evening, I have a problem. I opened gulp and started running the project. An error occurred. Updated to 3.9.1 local and 2.0.1 sli. I installed gulp--sass and I see this error again Gulp problem how to solve? same error but solution doesn't help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
monochromer, 2019-03-15
@emin313

If you are working with the project https://github.com/agragregra/optimizedhtml-start-... then here are the instructions:
1. Download the project, open the console in the project folder
2. Install all the dependencies listed in package.json with the command npm i. You can check the list of installed dependencies with command npm list --depth=0
3. Next, you need to run tasks somehow. Some install gulp globally npm i -g gulp. But you can also use a locally installed copy of gulp in the project. There are two options for this:
- running tasks using the npx utility that comes with npm (>=5.2) npx gulp <taskname>
- making task aliases for the scripts section of the package.json file, for example:

"scripts": {
  "build": "gulp build"
}

and then run tasks like npm run build
The project uses version 3 of gulp, while the current version 4 has some differences.
To better understand how node.js and npm work, I advise you to watch videos 1 to 9 here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question