1

I am not able to generate a yo project using @microsoft/generator-sharepoint. The menu simply freezes at the following step -

which type of client-side component to create?

arrows key don't work anymore, nor does Ctrl + C

enter image description here

I have tried reinstalling eveything a few times over. It doesnt help

0

I was able to resolve by directly passing the parameters in the command.

yo @microsoft/sharepoint --solutionName "hello-world" --framework "react" --componentType "webpart" --componentName "HelloWorld" --componentDescription "HelloWorld web part"

Source

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.