I am trying to set up an environment for SPFX development. I tried to install the latest version of nodejs.
I installed latest version of nodejs 14.15.4 and automatically npm verion 6.14.11 installed.
Then installed "npm install -g yo gulp" successfully.But while installing "npm install -g @microsoft/generator-sharepoint" got below error:
C:\SPFX>npm install -g @microsoft/generator-sharepoint
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=0.10.0 <7"} (current: {"node":"14.15.4","npm":"6.14.11"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
+ @microsoft/[email protected]
updated 1 package in 9.888s
Now if I try to create new SPFX project using command "yo @microsoft/sharepoint" then simply nothing is getting created inside the project folder.
Kindly help me to resolve this. Thanks in advance!