-
Notifications
You must be signed in to change notification settings - Fork 356
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 app generator does not create project scaffold #271
Comments
@loosenRogers can you post which version of the yo cli you are using? |
the version of the yo cli is 1.5.1 |
i update my yo version to 1.8.4 ,then i try generate the project again. ? Please choose your application name (galleryReact) galleryReact |
I was having this exact same error, but it appears installing directly from using npm seemed to resolve the issue for me. |
@loosenRogers @FamiliarPie hi guys, thanks for reporting. I can reproduce the problem on my local machine. There have been quite a few changes in the past days, both in terms of code and infrastructure (e.g. moving the repository url of this generator), so maybe some wires got crossed along the way. Sorry that you ran into these problems, we'll look into it right away. |
Okay, the reason is due to the updated dependency to |
Updated prompting to new yeoman-generator api Fixes #271
Thanks again for reporting, this fix will be available through |
Sorry, this was my fault :(. It seems I did not run tests before publishing the actual v3 stable. |
@weblogixx no worries, I fixed exactly the same issue a short while ago on another gist, so I already had an idea about where it is coming from. New patch release v3.3.4 is published on npm. |
I had the exactly same issue yesterday on v3.3.3. Just tried with v3.3.4 and the issue is gone. Thanks! |
@acwonders 🙇 thanks for testing the update and taking your time to confirm the fix. much appreciated. |
when iI follow the introduction to generate my project, here comes the error.
my command:"yo react-webpack galleyReact",i want to use react-webpack to generate a project named "galleryReact",then
? Please choose your application name (galleryReact)
events.js:141
throw er; // Unhandled 'error' event
^
TypeError: this.env.adapter.prompt(...).then is not a function
at Base.prompt (C:\Users\Administrator\AppData\Roaming\npm\node_modules\generator-react-webpack\node_modules\yeoman-generator\lib\base.js:240:45)
at module.exports.generator.Base.extend.prompting (C:\Users\Administrator\AppData\Roaming\npm\node_modules\generator-react-webpack\generators\app\index.js:40:10)
at Object. (C:\Users\Administrator\AppData\Roaming\npm\node_modules\generator-react-webpack\node_modules\yeoman-generator\lib\base.js:439:23)
at C:\Users\Administrator\AppData\Roaming\npm\node_modules\generator-react-webpack\node_modules\yeoman-generator\node_modules\run-async\index.js:26:25
at C:\Users\Administrator\AppData\Roaming\npm\node_modules\generator-react-webpack\node_modules\yeoman-generator\node_modules\run-async\index.js:25:19
at C:\Users\Administrator\AppData\Roaming\npm\node_modules\generator-react-webpack\node_modules\yeoman-generator\lib\base.js:440:9
at processImmediate as _immediateCallback
i have no idea of solving this problem,hoping you can give some help,thanks!
The text was updated successfully, but these errors were encountered: