Skip to main content
0 votes
1 answer
21 views

How handle the child process errors in Gulp?

The error in child process not always means that something fatal occurred. For example in "vue-tsc" case, if there will be some TypeScript errors, the error parameter will be not null while &...
Takeshi Tokugawa YD's user avatar
0 votes
0 answers
45 views

gulp.src() doesn't find files with *.ts, but finds file when i put nameOfFile.ts

I'm migrating from ES5 to ES6 and as a result I'm implementing modules. I have a Core.ts file that has a class Core that holds functions that are used in many .ts files. I migrated Core.ts to be ...
Nikola Lazarov's user avatar
0 votes
0 answers
20 views

How can I use gulp to ensure assets are not cached by the browser

I have inherited a legacy classic ASP.NET project that has assets of type CSS and Javascript which are currently loaded into each page that requires them. There is a problem whereby when fixes are ...
Andrew HB's user avatar
  • 412
0 votes
0 answers
57 views

After upgrading cordova environment, getting cannot run sass task missing in gulpfile.js

I have upgraded many components of my dev environment and I am now getting the following error when trying to compile my app. Everything was running fine before I started the upgrades, my app would ...
rolinger's user avatar
  • 3,156
0 votes
0 answers
70 views

autoprefixer is not a function

I have used this code on other projects with no problem. For some reason, when running the clean_make_css, it comes back with an error autoprefixer is not a function I added a checker, checkFunc, ...
user2212524's user avatar
0 votes
0 answers
28 views

Gulp, node-sass and gulp-core-build-sass all failed installing?

I had it with npm packages. I tried installing gulp to run gulp trust-dev-cert on my would-be-deployed application. It wouldn't install as it runs on an error: npm error code 1 npm error path C:\Users\...
user30266210's user avatar
0 votes
1 answer
33 views

Gulp changes reflects only on manual refreshing not automatically

I’m reaching out for some assistance regarding an issue I’ve encountered with my Gulpfile setup. I’ve configured the browser sync option in the file, and while changes are correctly getting reflected ...
ANANTHU C's user avatar
  • 103
-1 votes
1 answer
26 views

How to remove specific types of files from a gulp process

Within my gulpfile.js file, after my tasks run I would like to remove all my .css files from my pub/ directory after they have landed there. This is my most modern attempt but my files never get ...
klewis's user avatar
  • 8,498
2 votes
0 answers
30 views

Unusual Gulp Task Behaviour

I am struggling with a Gulp Task and what it is doing. Let me start with the first task: gulp.task('html-template:join', (cb) => { gulp.src('./src/template-data/**/*.json') .pipe(...
Takuhii's user avatar
  • 967
0 votes
1 answer
138 views

Sass @use 'bootstrap/scss/bootstrap' failing with 'Can't find stylesheet to import' in minimal project

I'm encountering a persistent issue where Sass is unable to resolve the import path for Bootstrap, even in a minimal test project. I'm using gulp-sass with Dart Sass. Here's the problem: I'm trying to ...
James's user avatar
  • 860
0 votes
1 answer
125 views

"gulp-sass" and "sass" with ES module is not working , when try to get css from scss files

I’m using Gulp v5.0 to compile, minify, and clean the CSS for my application. I've migrated from CommonJS to ES Modules (ESM) in my Gulp setup. There’s a custom component (maintained by another team) ...
Deepak Singh's user avatar
0 votes
0 answers
120 views

How can I replace node-sass module?

I'm trying to start my website again after few years but can not change the code because my gulpfile.js for the compiler does not start. Terminal says that the reasoin is that node-sass I used before ...
Abai's user avatar
  • 1
1 vote
1 answer
44 views

My SCSS files are not getting saved in css folder with Gulp

I am running my gulp task for compiling my scss files and then convert them to css. The scss files are getting compiled correctly in the cli. But the css files are not getting saved. Below is my scss ...
Shreyas Vaidya's user avatar
0 votes
0 answers
23 views

Gulp copying old versions of files

I've just discovered that Gulp is refusing to copy the new version of some font files in one of my projects. I have something like below: /assets /classes /dist /lib /sass mainfile.php otherfile.php ...
Shoelaced's user avatar
  • 881
0 votes
0 answers
50 views

When creating a SharePoint Solution package from Github, I keep getting legacy errors and modules not found. What am I missing?

I have been using SP-Dev-Webparts repository to clone and (attempt) to install some solutions available. I've had mixed results in terms of success, some packages will go through and create the ...
Ian's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
845