1
  1. As I understand SharePoint 2019 on-prem supports older version of SPFx and dependencies. So I need to hold two dev environments if I want to make webparts/extensions for both on-prem and online SharePoint editions?

  2. Can You please send me working versions for SharePoint 2019. Or maybe somewhere is step-by-step how to?

1

Have you checked Simultaneously run multiple versions of the SPFx Yeoman generator with npx?

You can use 2 versions on same machine and create 2 different projects for 2019 and Online.

It is recommended to create different Dev environments.

Supported SharePoint Framework version for the SharePoint 2019 is SPFx v1.4.1.

SPFx With SharePoint 2019 might help you in case of SharePoint 2019.

Hope it helps.

  • Thank You much @harshal gite! – Gennady G Sep 5 '19 at 13:08
  • 1
    @GennadyG, current version of Yeoman generator (yo @microsoft/sharepoint) allows to create solution targeted for both SP 2019 on-prem and SP Online. SPFx version in such solution is 1.4.1. – 23W Nov 7 '19 at 5:03
  • @23W thank You! Remeber I had problems when I played with this.. NVM allowed to install two separate versions of NodeJs but I stucked with something else.. Thank You for response! – Gennady G Nov 8 '19 at 11:08

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.