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

Running the generator throws error on expected promise object at the beginning of execution #334

Open
malmamun opened this issue Apr 4, 2017 · 0 comments

Comments

@malmamun
Copy link

malmamun commented Apr 4, 2017

I am getting error while I tried to run the generator. Here is my partial error dump:

[?] Please choose your application name: (sampleVanillaWebAppDevLocal) events.js:160
	  throw er; // Unhandled 'error' event
	  ^

TypeError: Cannot read property 'then' of undefined
	at constructor.Base.prompt (/home/miraz/.npm/lib/node_modules/generator-react-webpack/node_modules/yeoman-generator/lib/base.js:240:44)
	at constructor.prompting (/home/miraz/.npm/lib/node_modules/generator-react-webpack/generators/app/index.js:39:17)
	at Object.<anonymous> (/home/miraz/.npm/lib/node_modules/generator-react-webpack/node_modules/yeoman-generator/lib/base.js:439:23)
	at /home/miraz/.npm/lib/node_modules/generator-react-webpack/node_modules/run-async/index.js:25:25
	at /home/miraz/.npm/lib/node_modules/generator-react-webpack/node_modules/run-async/index.js:24:19
	at /home/miraz/.npm/lib/node_modules/generator-react-webpack/node_modules/yeoman-generator/lib/base.js:440:9
	at runCallback (timers.js:651:20)
	at tryOnImmediate (timers.js:624:5)
	at processImmediate [as _immediateCallback] (timers.js:596:5)
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