We are thinking of leveraging SPFx for our business.

I have created a solution with an SPFx web part. The hello world solution worked as expected.

After a couple of days I returned to the solution to add a second web-part. While running yo @microsoft/sharepoint I get an error


What is wrong here? I have seen the same behavior on multiple boxes

If I create a new solution in a new folder I do not have this issue

Thank you in advance for the help.

1 Answer 1


it might cause by version differences. You can try to check the version and update your existing solution package version if necessary.


After updated, try to add the second web part again.

Your Answer

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

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