-
-
Notifications
You must be signed in to change notification settings - Fork 734
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
yeoman init error message #575
Comments
Same here. |
OK After reading the docs, you can't use ES6 like modules without requireJS, answering Yes ou No to BOTH of them fix the problem, but ideally the command line should not propose it if you said no to RequireJS. |
I see. Thanks for your help. |
@jblanche I agree. We should only display the final question if RequireJS is used. We'll aim to fix this for the next update. |
Looked into this and since we're using the grunt.prompt helper there doesn't seem to be a way to do conditional prompting. Grunt is also using an old version of node-prompt. Since helpers are disappearing anyway, I think we should just use the prompt module directly. node-prompt 2 has nested prompting, which I think will solve this. Using the prompt module directly also gives us more flexibility. @mklabs Thoughts? Something I missed, like a painless way to do it? |
Fixed in yeoman/generator-webapp@e170a7d |
I got this message
<FATAL> Cannot call method 'replace' of undefined </FATAL>
while doingyeoman init
. I'll paste in my configuration while doing init, and the stack trace it generates.The text was updated successfully, but these errors were encountered: