-
Notifications
You must be signed in to change notification settings - Fork 750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error gulp browserify #340
Comments
A fresh But: you need If you don't want to globally install |
Did exactly as you say (removed npm_modules dir, npm install, gulp-cli 0.4 system-wide, have read BUILDING) and got this error. On fresh clone too. Using nodejs v4.0.0. |
It seems that it does not work with Node 4.0.0 (I use 0.12.0). I cannot handle this issue for now until May you please provide more info on how to avoid the issue? Does it work if |
Tried other banner places in browserify task, works only if I make addition of banner as separate task. |
And again - after uglify standart addition of banner works fine. |
Finally I added |
Thanks! Commit may be modified by me therefore disappeared but it was dirty hack anyway. |
Hello! Trying to build with defaults and 'gulp' command and getting error:
[14:29:07] Starting 'browserify'...
[14:29:07] 'browserify' errored after 806 ms
[14:29:07] TypeError: must start with number, buffer, array or string
at fromObject (buffer.js:167:9)
at new Buffer (buffer.js:58:10)
at Concat.add (/home/su/wprojects/jssip-rusekr/node_modules/gulp-header/node_modules/concat-with-sourcemaps/index.js:40:15)
at DestroyableTransform.TransformStream as _transform
at DestroyableTransform.Transform._read (/home/su/wprojects/jssip-rusekr/node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:10)
at DestroyableTransform.Transform._write (/home/su/wprojects/jssip-rusekr/node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:160:12)
at doWrite (/home/su/wprojects/jssip-rusekr/node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:326:12)
at writeOrBuffer (/home/su/wprojects/jssip-rusekr/node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:312:5)
at DestroyableTransform.Writable.write (/home/su/wprojects/jssip-rusekr/node_modules/gulp-header/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:239:11)
at write (/home/su/wprojects/jssip-rusekr/node_modules/vinyl-source-stream/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
[14:29:07] 'dist' errored after 3.85 s
By some debugging helped cutting line 50 from gulpfile.js with contents:
Same banner addition after uglify don`t throws this error.
Any suggestion?
The text was updated successfully, but these errors were encountered: