Git Product home page Git Product logo

generator-phaser-browserify's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

generator-phaser-browserify's Issues

TypeError: Cannot read property 'cache' of undefined

HI, just testing this out and got an error on fresh install:

$ npm start

> [email protected] start /home/rhalff/git/games/testgame
> node ./node_modules/gulp/bin/gulp.js

[22:21:01] Using gulpfile ~/git/games/testgame/gulpfile.js
[22:21:01] Starting 'connect'...
[22:21:01] Server started http://localhost:9000
[22:21:01] LiveReload started on port 35729
[22:21:01] Finished 'connect' after 23 ms
[22:21:01] Starting 'watch'...
[22:21:01] Finished 'watch' after 15 ms
[22:21:01] Starting 'clean'...
[22:21:01] Finished 'clean' after 19 ms
[22:21:01] Starting 'copy'...
[22:21:01] Finished 'copy' after 2.35 ms
[22:21:01] Starting 'copylibs'...
[22:21:01] Finished 'copylibs' after 4.32 ms
[22:21:01] Starting 'compile'...
[22:21:01] 'compile' errored after 356 μs
[22:21:01] TypeError: Cannot read property 'cache' of undefined
    at watchify (/home/rhalff/git/games/testgame/node_modules/watchify/index.js:13:27)
    at Gulp.gulp.task.gulp.src.pipe.minifycss.keepSpecialComments (/home/rhalff/git/games/testgame/gulpfile.js:53:17)
    at module.exports (/home/rhalff/git/games/testgame/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/home/rhalff/git/games/testgame/node_modules/gulp/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/home/rhalff/git/games/testgame/node_modules/gulp/node_modules/orchestrator/index.js:214:10)
    at /home/rhalff/git/games/testgame/node_modules/gulp/node_modules/orchestrator/index.js:279:18
    at finish (/home/rhalff/git/games/testgame/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8)
    at module.exports (/home/rhalff/git/games/testgame/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:60:3)
    at Gulp.Orchestrator._runTask (/home/rhalff/git/games/testgame/node_modules/gulp/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/home/rhalff/git/games/testgame/node_modules/gulp/node_modules/orchestrator/index.js:214:10)

This is the line in wachify: https://github.com/substack/watchify/blob/master/index.js#L13

I guess it installs a more recent version of watchify?

Also the readme is mentioning:

Invoke the generator:

yo phaser

Which should be yo phaser-browserify

Problems with watchify due to EPERM bug

I really like this generator, but after my project reached a certain size = compile / clean time, i got the watchify EPERM bug which nobody seems to be able to figure out browserify/watchify#83.

The trigger was that once the clean task needed more than ~100ms the bug occurred, EVERY time!

After i just commented out the clean task everything went as smoothly as before, so my question is, if the new files apparently overwrite the existing ones without any problem, do we really need the clean task, or is it really superfluous?

If so, it should be removed to prevent others to spend hours trying to figure it out ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.