0

I try to create a PowerShell script doing other things after creating a new spfx project with the Yeoman SharePoint Generator.

The code for Yeoman is:

yo @microsoft/sharepoint --component-type "webpart" --component-name $componentName --solution-name $solutionName --framework "react" --skip-install

After the code runs PowerShell pauses showing a Yeoman completion screen

Congratulations! Solution xxx is created. Run gulp serve to play with it!

and it does not continue with any command afterwards. If I hit any key, it does continue.

Is there any way to continue without user interaction? Do you have any idea?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.