-
Notifications
You must be signed in to change notification settings - Fork 239
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
yo generator ends straight away without creating any structure or error #215
Comments
So the first prompt will call the npm API to check if the name is available. I wonder if somehow (maybe a corporate proxy or a firewall on your machine) is blocking this call and failing the process silently..? |
Might be a possibility but is there any way I can debug the real issue in it? |
Well, you could check the code and try to log somewhere. I don't know why the error is being silenced, but most likely a promise silence the error. |
Ohkay. Thanks for the guideline. |
This is also happening for me, either using company proxy or not. Exits silently after ask |
Are you sure there's no asynchronous locks? Like a |
I believe this issue may be associated with the registry URL in the .npmrc file. I was having this same issue and my .npmrc was configured to use a VSTS registry path. When I commented out the VSTS registry path in the .npmrc file, everything started working. Hope this helps! |
This is happening for me using following configuration:
Then I decided to downgrade yo to [email protected] , and the problem disappear. Hence it is likely compatibility issue with npm or node. |
I am having exactly same issue with following configuration: [email protected] |
I want to create a custom generator in an empty folder.
npm 5.6.0
node 8.9.1
yo 2.0.0
The text was updated successfully, but these errors were encountered: