0

I am trying to run my first SPFX as mentioned on this link @ https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/build-a-hello-world-extension .. but when i run yo @microsoft/sharepoint i got this error:-

enter image description here

so i run this command install -g yo gulp but i got this error:-

0

I would try the following

  • run your console as an administrator
  • run npm uninstall -g gulp
  • run npm install -g yo
  • run npm install @microsoft/generator-sharepoint -g

then try:

  • create a new folder
  • navigate to a folder
  • run yo
  • follow generator's instructions
  • when you are done, run npm install -g gulp

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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