Answer the question
In order to leave comments, you need to log in
Problem installing gulp, how to solve?
everything seems to be filled out correctly in galpfile.js, everything is in package.json but on the command line it displays
$ gulp scss
[20:32:44] Using gulpfile ~\Desktop\start__gilp\gulpfile.js
[20:32:44] Task never defined: scss
[20:32:44] To list available tasks, try running: gulp --tasks
const { src, dest, series, parallel, watch } = require('gulp');
const sass = require('gulp-sass');
function scss() {
return src("app/scss/style.scss")
.pipe(sass())
.pipe(dest("app/css/style.css"))
}
exports.scss = scss;
{
"name": "start__gilp",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Dasha Farbak",
"license": "ISC",
"devDependencies": {
"gulp": "^4.0.2",
"gulp-sass": "^5.0.0",
"sass": "^1.35.1"
}
}
Answer the question
In order to leave comments, you need to log in
That's right.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question