The current version of the SharePoint Framework only works on Node.js v12.13.0+ or v14.15.0+. It does not work on Node.js v16.x.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi Team,
I am new in the SPFx development, I have installed the Node.js 16.14.0 and I have run the commands as per the https://learn.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment#install-nodejs. But, when I have run the following command it stuck.
npm install @microsoft/generator-sharepoint --global
Kindly help me.
Thanks & Regards,
Surendra Patil
The current version of the SharePoint Framework only works on Node.js v12.13.0+ or v14.15.0+. It does not work on Node.js v16.x.
Hi @Surendra Patil ,
Per my research, I do agree with RobWindsor-4651's answer. spfx doesn't support node.js 16.14.0. Here is the document about spfx support
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
I have install the Nodejs 14, but now I got the following error. Kindly help me.