Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Error - No compatible version found: @microsoft/decorators@~1.0.1 #633
Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.
Is anyone else seeing this error? Alex - can you describe how you got to your current state? What version of the @microsoft/generator-sharepoint do you have? What does your package.json file look like? Did you delete your node_modules folder before running npm install?
Thanks Pat for creating the issue.
I was able to fix it by updating versions in package.json:
So, I believe the issue may be closed
Here is the full error I received:
Just to make sure, I attempted to generate an ApplicationCustomizer as well since I verified that the one I made the other day had the same package.json values and it too failed with the same error.
I checked the version of the generator I had
and saw that I had 1.1.0
Viewing the versions available
showed that 1.1.1 was the latest, so I installed it:
I ran the generator again and this time it worked! I took a look at the new package.json and found the dependencies had indeed changed:
New package.json dependencies:
Failed package.json dependencies (that worked just a few days ago)
I'm not sure what broke the previous version, but upgrading your generator should fix the issue.