geowarin / generator-phaser-gulp-typescript

Gulp typescript generator for PhaserJs games
13 stars 2 forks source link

Error: Cannot find module 'underscore.string' #3

Open val-samonte opened 9 years ago

val-samonte commented 9 years ago

Running 'yo phaser-gulp-typescript' on windows command prompt gave me the ff:

Error: Cannot find module 'underscore.string' at Function.Module._resolveFilename (module.js:336:15) at Function.Module._load (module.js:278:25) at Module.require (module.js:365:17) at require (module.js:384:17) at Object. (C:\Users\valsa_000\AppData\Roaming\npm\node_modules\g enerator-phaser-gulp-typescript\app\index.js:7:9) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17)

digital-synapse commented 9 years ago

I get the same thing. :( is there a fix for this?

digital-synapse commented 9 years ago

0.2.1 seems to be the last version that does not throw the underscore.string error

ergwun commented 9 years ago

Install underscore.string globally to work around this issue.

npm install -g underscore.string