0

I have Yeoman generator (@microsoft/generator-sharepoint) version 1.8.2, I can verify this by running: npm list --depth=0 -g .. When I try to run yo @microsoft/sharepoint , I noticed 2 things:

The wizard doesn't show support for SharePoint 2019, so it only gives me the choice of SharePoint online only, or SharePoint 2016 onwards. The second thing is that the project scaffolded shows this:

    "@microsoft/sp-core-library": "1.5.1",
    "@microsoft/sp-webpart-base": "1.5.1",
    "@microsoft/sp-lodash-subset": "1.5.1",
    "@microsoft/sp-office-ui-fabric-core": "1.5.1"

What do I need to do to get the latest version of SPFx? (1.8).

  • 1
    If you're developing for SharePoint Server 2019, the highest SPFx version it supports is 1.4.1. – Trevor Seward May 11 at 22:29
  • Thanks @TrevorSeward. But I am not even getting the chance to choose sp 2019 in the first place. The yeoman wizard gives me the option to either choose SP online or sp 2016, if I go with SP online, I'd get SPFx v 1.5 only. – Daniela Roccuzzo May 12 at 23:32

Your Answer

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

Browse other questions tagged or ask your own question.