Yeoman generator unable to use older version of @microsoft/sharepoint #10268
Labels
area:spfx
Category: SharePoint Framework (not extensions related)
Needs: Author Feedback
Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.
sharepoint-developer-support
sharepoint-developer-support
type:bug-suspected
Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Uh oh!
There was an error while loading. Please reload this page.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
No response
Describe the bug / error
I need to install version 1.20.0 of SPFx, as a package that I am working with does not work on the later versions of Node, which 1.21.0 uses.
I have tried every combination of:
For all of these, I am met with the following screen, clearing showing 1.21.1 being used.
Workaround
The only way it works fully is via this command below:
Which is not documented as being required anywhere, hence feels like a bug.
Steps to reproduce
Expected behavior
The generator runs with version 1.20 instead
The text was updated successfully, but these errors were encountered: