gulp Questions

1

I am working on setting up test runner tasks for our project and ran into something unexpected. Our task wasn't getting any of the files using the below pattern: '/tests/**/*.spec.js' Our direct...
Frayda asked 25/4, 2016 at 15:52

3

Solved

I am using docker compose and this is my yaml file web: dockerfile: Dockerfile-dev build: . command: gulp volumes: - .:/app ports: - '9001:9001' and here is my docker file FROM node:0.12...
Marilumarilyn asked 23/10, 2015 at 7:45

4

I've been getting this error when trying to do a gulp bundle --ship command: The build failed because a task wrote output to stderr. Exiting with exit code: 1 I'm pretty new to this so have n...
Esquivel asked 21/6, 2018 at 12:28

3

Solved

NodeJS is being restricted to be installed and we received a web work with a SASS file that I would like to continue working in that way. So I was hoping there could be other way to compile i...
Foretell asked 10/7, 2019 at 17:45

23

Solved

I'm trying to install Gulp.js and when I write npm install I get this issue: npm ERR! code 1 npm ERR! path D:\www\wegrow\node_modules\node-sass npm ERR! command failed npm ERR! command C:\Windows\s...
Lab asked 5/5, 2021 at 10:45

4

Solved

I have to execute two commands on the docker file, but both these commands are attached to the terminal and block the execution from the next. dockerfile: FROM sinet/nginx-node:latest RUN mkdir /u...
Cally asked 23/7, 2019 at 17:18

3

As far as I know /dist is for production environments. It contains uglified and similar files. But why do we need a /build folder ?
Grin asked 28/3, 2016 at 3:8

7

I got an error when using this line of code const sass = require('gulp-sass')(require('sass')); The error output is : Requiring external module babel-register ReferenceError: require is not define...
Thunderous asked 8/9, 2021 at 8:41

4

Solved

I use the del package to delete a folder: gulp.task('clean', function(){ return del('dist/**/*', {force:true}); }); ...But is there any easy way to delete the dist folder and all of its contents ...
Eb asked 21/3, 2016 at 22:13

7

I have gulp task below and with every run of this task (before browsersync) I want to change last modification time of one file (nothing changes in that file, I just need to change time of last mod...
Darnley asked 4/2, 2015 at 16:18

2

There is a simple task of copying an image from a folder to another folder. gulp.task('default', function () { return gulp.src('./img/*.*') .pipe(gulp.dest('./image')); }); Everything worked fin...
Hum asked 26/4 at 14:47

7

I created a simple app using knockout/bootstrap/gulp that downloads a pdf using pdfMake.js. It works fine in debug mode using VS2017. After publishing and using gulp it gives this error when run: F...
Saideman asked 20/10, 2017 at 20:4

1

Solved

In image.mjs and copy.mjs files I use gulp.dest But it breaks the files when copying, that is copying is done in the correct path, but the files end up becoming large in size and no longer workable...
Gustavogustavus asked 11/4 at 13:9

1

I have created a Craft 4 project and I am installing Gulp on my project. I have installed he latest version of Gulp(Gulp 5) and the moment I run the gulp command, i Get this: . I have tried Gulp 4 ...
Unbar asked 2/4 at 22:42

72

Solved

I'm working on a website that uses Gulp.js to compile and browser sync to keep the browser synchronised with my changes. The Gulp.js task compiles everything properly, but on the website, I'm unabl...
Gallfly asked 14/1, 2018 at 10:52

5

Solved

What does it do when I run this command: npm install --save-dev package1 package2 It is definitely not installing multiple packages, but it looks to be essential. (For example https://www.browse...
Pod asked 7/8, 2016 at 19:8

14

Solved

Consider the following two files: app.js import Game from './game/game'; import React from 'react'; import ReactDOM from 'react-dom'; export default (absPath) => { let gameElement = document...
Deathless asked 13/10, 2016 at 19:13

12

I am building Semantic UI with Gulp using this guide However, the problem is now that the icons are not showing. So if I use <i class="facebook icon"></i>, nothing shows up. I guess ...
Syncarpous asked 21/3, 2017 at 9:37

11

Solved

I'm attempting to integrate React into an existing web page. At this time, I'm unable to get my React app loaded. My React app has two files. At this time, they look like this: myApp.js import Re...
Greenfinch asked 18/9, 2016 at 13:12

3

I am new to Gulp and have the following Gulpfile var gulp = require('gulp'); var jshint = require('gulp-jshint'); var concat = require('gulp-concat'); var rename = require('gulp-rename'); var ugli...
Biegel asked 16/2, 2015 at 16:21

4

I am getting some strange error, but in order to suppress these error I have to change everything where I am getting error? //gulp file code var fs = require('fs'); var path = require('path');`en...
Throwaway asked 28/4, 2018 at 7:12

6

Solved

I'm new to Gulp and trying to automate some tasks. Here's my environment setup: npm version: 8.1.0, node version 17.0.1, gulp CLI version 2.3.0 and gulp version 4.0.2 And here's my gulpfile.js: // ...
Novah asked 6/11, 2021 at 9:21

4

I am trying to point my repo to a custom domain and receiving this error: 404 File not found The site configured at this address does not contain the requested file. If this is your site, m...
Coquillage asked 3/10, 2016 at 17:52

3

In sass file h3 { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; line-height: 24px; max-height: 24px; -webkit-line-clamp: 1; -webkit-box-orient: vertical; } After ru...
Imp asked 23/3, 2017 at 4:59

11

Solved

I am following Angular 2 quick start tutorial. Following is my folder structure - ├── gulpfile.js ├── index.html ├── js | ├── app.component.js | └── boot.js ├── source | ├── app.component.ts | └─...
Seale asked 2/1, 2016 at 12:27

© 2022 - 2024 — McMap. All rights reserved.