SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.24k stars 1k forks source link

SharePoint Framework development with SharePoint Server 2016 #8673

Open ahmedmahmoudR opened 1 year ago

ahmedmahmoudR commented 1 year ago

Target SharePoint environment

SharePoint Server 2016 (on-premise)

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

Windows

What browser(s) / client(s) have you tested

Additional environment details

Describe the bug / error

I need to create an SPFx web part for SharePoint 2016. I have been following the instructions here but am getting an error when running "yo@2.0.0 --global "

image

Steps to reproduce

1.Run cmd as admin

  1. install node version 6.7.1 3.install gulp
  2. Facing issue when running npm install yo@2.0.0 --global

Expected behavior

yo@2.0.0 --global and microsoft/generator-sharepoint@1.6.0 --global successfully installed and be able to create spfx webpart for SharePoint 2016

ghost commented 1 year ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

linhgg3 commented 8 months ago

Getting the same issue, any solution for it? @ahmedmahmoudR