Yeoman Freeze on Windows 10
Hi All my dev environment is based on Windows 10 (64bit) client, with installed
- node js 10.16.0
- latest version of yeoman, gulp and SharePoint generator (1.8.2)
But when i create new project for SharePoint online, yeoman "freeze" and nothing happens (see picture). I can only close window.

I try with other machine with Windows Server 2012 R2 and Windows Server 2016 but results is the same. Same results when i try to clean npm cache and reinstall all components.
Could you help me? Thanks Marco
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
A few followup questions:
- Is that (the screenshot) where it freezes?
- Can you run
npm list -g --depth=0 - Are you running any type of antivirus that could be blocking scripts from running?
Same here, and I tried to execute the command with parameters but it still freeze.

I can reproduce. I completely refreshed a VM (i.e. reinstalled Node, Yeoman, Gulp, and the SPFx generator) and the generator is freezing when accepting input on the question "Do you want to allow the tenant admin the choice of being able to deploy the solution to all sites immediately without running any feature deployment or adding apps in sites?"
I'm seeing the same issue.. when I run Yo @microsoft/Sharepoint, it takes around 3 minutes for the Yeoman symbol to show. With the YO Debug variable set, this still takes 3 minutes to show the Debug messages.
Once the generator does display, it stops for a while after the File location choice, then stops completely at the Admin deploy choice.., No keyboard entry seems to do anything.
I've left this one running for about 20 minutes so far.
npm list -g --depth=0 returns: +-- @microsoft/[email protected] +-- [email protected] `-- [email protected]
Running yo --version returns the version quickly, but running Yo on it's own to trigger the generator picker takes forever as well. (Although I'm not sure how quick this is usually!)
Same with Linux .. ♥ Microdobe ♥
@patmill Seems multiple reports all the sudden coming in about the Yeoman SPFx generator freezing up... aware of this?
Think we've isolated to the latest version of Yeoman (2.0.6) on Windows.
Can you guys downgrade and try again?
npm install -g [email protected]
I have the same issue with 2.0.2
@jefmeyer did you upgrade to a version > 2.0.2, then downgrade to 2.0.2? Or have you never had a version above 2.0.2 installed?
I just installed Yo 2.0.6 this morning, ran into the issue, saw this thread and then downgraded to 2.0.2
now starting to smell like a downstream dependency in Yeoman... check this out: https://github.com/yeoman/yeoman/issues/1714
Check all global installs: npm list -g
Search for inquirer ... check the version. If >= 6.4.0, try installing 6.3.1: npm i -g [email protected]
I'm on macOS and not having this issue so hard for me to replicate...
Even after a npm i -g [email protected] i still get the freeze
@andrewconnell I cleared all the NPM packages, went through the "Setup development" guide again, rolled back yo to 2.0.2 and also the inquire version, but still same freeze issue, checking after each rollback.
@andrewconnell I installed [email protected] but 6.4.0 is still there as a dependency of Yeoman. At least it appears to be. This is where my lack of full understanding how these dependency trees work defeats me.

@andrewconnell I dropped down to [email protected] but [email protected] is still in the dependencies.

@rob-windsor no matter which version 2.0.0 you use this won't work because how yeoman has defined their versions of inquirer in package.json. You have to move back to version 1.x.x.
The easiest way to accomplish this is to execute the following command:
npm install @microsoft/generator-sharepoint@1 -g
This should then installed an older version of the inquirer package and the generator is working again:
SPFx anyway uses a really old version of yeoman so no need to worry or update to the latest version.
It seems that this issue is related to: https://github.com/SBoudrias/Inquirer.js/issues/811
After installing yeoman v1.8.5, spfx generator v1.8.2 has worked.
npm install yo@1 -g
But I saw the another freeze when I run the following command.
yo @microsoft/sharepoint
Instead, when I run yo and choose @microsoft/sharepoint, it's work.


thank you for everyone of this thread !
@MickNabewata I confirm your test Command yo @microsoft/SharePoint still not working :(
But working if I choose yo and select: @microsoft/SharePoint