Skip to content

SharePoint Framework development with SharePoint Server 2016 #8673

@ahmedmahmoudR

Description

@ahmedmahmoudR

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

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • Node.js version 6.7.1
  • NPM version 4
  • Gulp gulp-cli@2.3.0
  • yo@2.0.0 (fail to install)
  • microsoft/generator-sharepoint@1.6.0 (fail to install )

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
2. install node version 6.7.1
3.install gulp
4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:archive-old-issueIssues which are closed as tool old for active worktype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions