Gulp: How to change modification time of file

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...

Has anybody got angular2 quickstart working?

I think I did all the steps from https://angular.io/docs/js/latest/quickstart.html and even added system.js to index.html, but sill no Hello Alice. Has anybody got it working? Update: Ok, when i'm...

Running a shell command from gulp

I would like to run a shell command from gulp, using gulp-shell. I see the following idiom being used the gulpfile. Is this the idiomatic way to run a command from a gulp task? var cmd =...

zsh: command not found: gulp

I've installed zsh with homebrew and changed my shell to it. I'm having a problem when trying to run the gulp command, which worked before I changed the shell to zsh. zsh: command not found:...

Using `react-bootstrap` with `npm`

I want to create a project using npm, and want to use react-bootstrap inside it. I have package.json with the following dependencies. { "name": "simple-webapp", "version": "0.0.1", ...

How to break Travis CI build if Appium/Mocha tests fail?

I have a Travis CI project which builds an iOS app then starts Appium and runs tests with Appium/Mocha. The problem is that even though the Mocha tests fail and throw exception, the shell script...

Node and docker - how to handle babel or typescript build?

I have a node application that I want to host in a Docker container, which should be straight forward, as seen in this article: https://nodejs.org/en/docs/guides/nodejs-docker-webapp/ In my...

Start a shell process in Gulp with callback when process started

I'm trying to run some tasks in Gulp, sequentially. One of those tasks is a shell script that performs a simple $ node app.js. How can I fire the callback so I can tell Gulp that the server has...

Running NPM scripts sequentially

Let's say I have "scripts": { "pre-build": "echo \"Welcome\" && exit 1", "build_logic": "start cmd.exe @cmd /k \"yo esri-appbuilder-js:widget && exit 1\"", "post_build": "start...

npm install phantom.js fails

When I run npm install, i get the following error I reinstalled node and that did not fix the problem. Not really sure where to go from here. It seems like it downloads a bunch of files and...

Why TypeError: stream.on is not a function

I have been working on an Angular JS based application. I have written a set of gulp commands to uglify/remove comments from JS code. Since I wanted to trace the exceptions properly, I wrapped the...

How to re-use previously created workspace across stages

I am facing an issue where I have two stages defined in my pipeline that both are run on the same node and need to be run in the same workspace. The first of these stages runs on my master node...

VSCode - Tasks version 2.0.0 : how to use the "output" console, not the terminal

I have a task at version 0.1.0 that I try to migrate to 2.0.0. This task simply transpiles Typescript to Javascript using a Gulp script. The output is shown in the "output" console, there is no...

foundation-sites: 'foundation.d.ts' is not a module

I just updated my Angular / Foundation project to use node.js v9.3.0. Everything worked fine with v8.4.0. I'm now getting an error when webpack tries to build. ERROR in...

npm install and gulp fails in cron job

I have shell script where I use npm and gulp after pulling from remote git repo. It passes on manual trigger but fails on cron. Any help is appreciated. Script: #!/bin/bash echo "changing dir" cd...

TypeScript SonarQube Scan in Docker Container

I am trying to build my TypeScript application through a Jenkins pipeline. To manage the build, test and code quality scan I am having Jenkins use a Docker agent based on node:7-alpine. The...

How to run node.js with gulp inside docker and find the right bashsrc

I am new to Docker and I do have some problems. My goal: use the Dockerfile to create a docker-container and stay inside the container / don't drop out of it. running a local...

IVY Error while compiling Angular v8 project with Kendo

I updated my project Angular version from v7 to v8. Kendo libraries are used in my project. When I enabled Ivy for compilation, I am getting following error. package.json { "name": "portal", ...

problem trying to build my app in ionic cordova

I have tried to build my app and I am receiving an error. I am using: ionic cordova build android node version: 12.13.0 Error Below C:\Users\ville\Documents\gobus-hibrido>ionic cordova build...

What is wrong with my Gulp Watch task with Docker?

EDIT: Gulp "Watch" doesn't work on windows with a mounted volumes because no "file change" event is sent. My current solution is to run Docker Windows Volume Watcher on my local machine while I...

I am running into Assertion error while running command `npm run group`

Can someone help me with this ? This is the error I get every time I run npm run group assert.js:374 throw err; ^ AssertionError [ERR_ASSERTION]: Task function must be specified at Gulp.set...

VS code, run gulp task. Value is not accepted. Valid values: "shell"

Here is what I see when try to create a VS code task which should run a gulp task on folder open event. The code I've found on VS docs

NgRx 7.4.0: Uncaught TypeError: ctor is not a constructor

I am struggling to work out why I am not able to register my effects using NgRx version 7.4.0. I have totally stripped back my effects class looking for a solution to this problem but I am still...

how can I push to master branch from jenkins using ssh key of other user

I don´t know if this can be done, but I need to push changes to a bitbucket master branch repository in a jenkins job. Let´s call it repo1 Master branch of that repository has configure branch...

Setting up development stages using gulp / package.json

OK, so I am trying a new setup to give me a more efficient way of developing my sites. At the moment I can only think of 3 stages, development, staging and build As I'm using gulp, I have been...

Husky and lint-staged unable to run gulp command

Am trying to run gulp commands from package.json. But unable to execute. This is my package.json. "scripts": { "deploy": "gulp deploy", "lint": "eslint", "lint-fix": "eslint...

React Native Release( IPA and APK ) crash on start

Iam getting the below error when I open the release build .It happens both in IOS and Android. E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules Process: com.package.name, PID: 28695 ...

Why doesn't environment variable reference work for MS Build Target?

I have the following configuration, but the ASPNETCORE_ENVIRONMENT variable doesn't make it to the CsProj config. .vscode/launch.json { // Use IntelliSense to find out which attributes exist...

Can’t install Choclatey into windows docker container

Im trying to install Chocolatey into a docker windows container, on a Windows 10 Machine using a Windows Container and not linux containers. Im running the docker build command in the PowerShell...

Get second last value in each row of dataframe, R

I am trying to get the second last value in each row of a data frame, meaning the first job a person has had. (Job1_latest is the most recent job and people had a different number of jobs in the...