-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Gulp Browserify is long deprecated. Browserify supports it's own stream so the gulp wrapper isn't needed. I've tried to push Browserify to the steam in scripts.js like:
stream.push(
browserify({
debug: true
})
)
But this gives a big gulp error:
[13:50:25] Using gulpfile ~/Development/boilerplate-test/gulpfile.js
[13:50:25] Starting 'build'...
[13:50:25] Starting 'make:js'...
[ 'microservice_boilerplate/static/src/js/app.js' ]
[13:50:26] 'make:js' errored after 41 ms
[13:50:26] TypeError: Cannot read property 'on' of undefined
at destroyer (/Users/admin2/Development/boilerplate-test/node_modules/pump/index.js:23:9)
at /Users/admin2/Development/boilerplate-test/node_modules/pump/index.js:67:12
at Array.map (native)
at Object.pump (/Users/admin2/Development/boilerplate-test/node_modules/pump/index.js:64:26)
at Promise (gulpfile.script.js:102:11)
at script (gulpfile.script.js:27:12)
at Gulp.gulp.task (/Users/admin2/Development/boilerplate-test/gulpfile.js:85:12)
at module.exports (/Users/admin2/Development/boilerplate-test/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/Users/admin2/Development/boilerplate-test/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/Users/admin2/Development/boilerplate-test/node_modules/orchestrator/index.js:214:10)
[13:50:26] Finished 'build' after 93 ms
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v6.11.4
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script 'gulp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the gulpReusable package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs gulpReusable
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls gulpReusable
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/admin2/Development/boilerplate-test/npm-debug.log
Could you perhaps help me with this?
Metadata
Metadata
Assignees
Labels
No labels