Hе запускается GULP.
не запускается GULP ((((
const gulp = require("gulp");
const browserSync = require("browser-sync");
const sass = require("gulp-sass");
// Static server
gulp.task("server", function () {
browserSync.init({
server: {
baseDir: "src",
},
});
});
gulp.task("styles", function () {
return gulp
.src("src/sass/*.+(scss|sass)")
.pipe(sass({ outputStyle: "compressed" }).on("error", sass.logError))
.pipe(gulp.dest("src/css"))
.pipe(browserSync.stream());
});
gulp.task("watch", function () {
gulp.watch("src/sass/*.+(scss|sass)", gulp.parallel("styles"));
gulp.watch("src/*.html").on("change", browserSync.reload);
});
gulp.task("default", gulp.parallel("watch", "server", "style"));
а вот и проблема- Помогите пожалуйста
gulp : File C:\Users\ionli\AppData\Roaming\npm\gulp.ps1 cannot be loaded because running be oeduse ringsts i this system.or
scripts is disabled on this system. For more information, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170. .
At line:1 char:1
+ gulp
+ ~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess