Sp-dev-docs: What is the latest version of npm and node which is compatible with SPFX version 1.5.1?

Created on 4 Aug 2018  路  8Comments  路  Source: SharePoint/sp-dev-docs

Category

  • [x] Question
  • [ ] Typo
  • [ ] Bug
  • [ ] Additional article idea

What is the latest version of npm and node which is compatible with SPFX version 1.5.1?

Most helpful comment

The latest version of Node compatible with SPFx version 1.5.1 is Node 8.11.3 LTS version.
When you install it, it will have the npm version 5.x installed with it.

SPFx wont work with Node 9.x or above.

Reference - Set up your SharePoint Framework development environment

All 8 comments

The latest version of Node compatible with SPFx version 1.5.1 is Node 8.11.3 LTS version.
When you install it, it will have the npm version 5.x installed with it.

SPFx wont work with Node 9.x or above.

Reference - Set up your SharePoint Framework development environment

Thank you @gautamdsheth for your quick response. So does this document get updated with the latest compatible node version every time a new SPFX version is released?

@nehaj910 correct

Thanks @waldekmastykarz 馃憤

I have SPFx version 1.5.1, Node 8.11.3 and npm 5.6.0. But when I do "yo @microsoft/sharepoint" the options for baseline packages are "SharePoint Online only" and "SharePoint 2016 onwards, including SharePoint Online" but not SharePoint 2019. Why? What am I doing wrong?

Support for SharePoint 2019 has been introduced in SharePoint Framework v1.7.0 @Isabeletta

@waldekmastykarz I try with SharePoint Framework v1.7.1
When I do gulp serve works ok but when generating the package it does not generate any errors but when I upload .sppkg file to the App Catalog library it gives me errors.

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

Was this page helpful?
0 / 5 - 0 ratings

Related issues

waldekmastykarz picture waldekmastykarz  路  3Comments

SteIvanov picture SteIvanov  路  3Comments

thechriskent picture thechriskent  路  3Comments

christianbueschi picture christianbueschi  路  3Comments

waldekmastykarz picture waldekmastykarz  路  3Comments