Tips &Tricks Blog

0

TypeError: dest.on is not a function

Following is the anti pattern gulp.src( ‘Foo’ ).pipe( shell( ‘Bar’ ) ); Use the following pattern gulp.task( ‘Foo’, shell.task(‘Bar’) ); Anti-pattern Github Issue

0

Error in plugin ‘gulp-shell’

Following is the anti pattern gulp.src( ‘Foo’ ).pipe( shell( ‘Bar’ ) ); Use the following pattern gulp.task( ‘Foo’, shell.task(‘Bar’) ); Anti-pattern Github Issue

0

Call and retry last Allocation failed

Solution: node –max–old-space-size=4096 <filename> You need to tell node to overwrite default heap size in v8. To see all the available v8 flags run the following command: node –v8-options —Further details on chromium bug

0

$? variable in linux

$? Status of the previous process / command which ran on the shell $ pwd $ echo $? // returns 0 which means the previous command ran sucessfully $ blahCommand $echo $? // returns...