Skip to content
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

Browserify isn't working. #3

Open
jobsturm opened this issue Oct 31, 2017 · 0 comments
Open

Browserify isn't working. #3

jobsturm opened this issue Oct 31, 2017 · 0 comments

Comments

@jobsturm
Copy link

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! gulpReusable@0.0.1 build: `gulp build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the gulpReusable@0.0.1 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant