Open ThomasDeutsch opened 10 years ago
hmm weird, coz i tried the same thing and it works well. can you post your gulpfile?
var gulp = require('gulp'); var browserify = require('gulp-browserify'); var concat = require('gulp-concat');
gulp.task('scripts', function() { //single entry point to browserify gulp.src(['./src/app.js']) .pipe(browserify({ insertGlobals : true, debug : true })) .pipe(concat('dest.js')) .pipe(gulp.dest('./build')) });
gulp.task('default', function() { gulp.run('scripts'); });
not sure wats causing the problem. But you had problem with npm i gulp-browserify
yesterday right? how did you solve it?
I solved the issue by unchecking the Read-Only Attribute on my C:\Users
@Dashed any thoughts on this problem?
@ThomasDeutsch can you try with the latest version and see if the error still persists?
@deepak1556 This issue can be closed because the issuer said it was solved and gulp won't work in readonly folder anyway.
I am able to browserify my app, but with gulp-browserify ( using the example gulp-configuration ), i get:
My app.js is simply "var x = 1;" It seems that browserify can not work with the stream.
i am using: