Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

yo phaser crash when selecting Phaser version #33

Closed
jayconstanza opened this issue Feb 28, 2016 · 2 comments
Closed

yo phaser crash when selecting Phaser version #33

jayconstanza opened this issue Feb 28, 2016 · 2 comments

Comments

@jayconstanza
Copy link

hi! I've recently installed this generator but when I select the Phaser version this is what I get:

? Which version of Phaser do you want? Arcade Physics

TypeError: /usr/local/lib/node_modules/generator-phaser/generators/app/templates/_package.json:2
1| {

2| "name": "<%= _.slugify(projectName) %>",
3| "description": "",
4| "readme": "",
5| "repository": "",

Cannot read property 'slugify' of undefined
at eval (eval at (/usr/local/lib/node_modules/generator-phaser/node_modules/ejs/lib/ejs.js:485:12), :11:24)
at returnedFn (/usr/local/lib/node_modules/generator-phaser/node_modules/ejs/lib/ejs.js:514:17)
at Object.exports.render (/usr/local/lib/node_modules/generator-phaser/node_modules/ejs/lib/ejs.js:316:37)
at copy.process (/usr/local/lib/node_modules/generator-phaser/node_modules/mem-fs-editor/actions/copy-tpl.js:14:18)
at applyProcessingFunc (/usr/local/lib/node_modules/generator-phaser/node_modules/mem-fs-editor/actions/copy.js:13:16)
at EditionInterface.exports._copySingle (/usr/local/lib/node_modules/generator-phaser/node_modules/mem-fs-editor/actions/copy.js:51:16)
at EditionInterface.exports.copy (/usr/local/lib/node_modules/generator-phaser/node_modules/mem-fs-editor/actions/copy.js:23:17)
at EditionInterface.module.exports as copyTpl
at template (/usr/local/lib/node_modules/generator-phaser/node_modules/yeoman-generator/lib/actions/actions.js:134:11)
at generators.Base.extend.app (/usr/local/lib/node_modules/generator-phaser/generators/app/index.js:65:10)

Could you help me???
Thank you :)

@julien
Copy link
Owner

julien commented Feb 28, 2016

Hi @derrickroccka, I'm aware of this, I accidently pushed a bad version yesterday, there are some changes but if you reinstall the latest version that should be fixed

@jayconstanza
Copy link
Author

I was just doing it and I came back to say that everything is fine now haha thanks for all @julien ! I'm eager to start with Phaser :)

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

No branches or pull requests

2 participants