Want to use SharePoint Online SPFX Solution to SharePoint 2019 On Premises

%3CLINGO-SUB%20id%3D%22lingo-sub-2961920%22%20slang%3D%22en-US%22%3EWant%20to%20use%20SharePoint%20Online%20SPFX%20Solution%20to%20SharePoint%202019%20On%20Premises%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2961920%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20one%20requirement%20to%20use%20Sharepoint%20online%20SPFX%20solution%20to%20Sharepoint%202019%20On-Premises.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20currently%20I%20have%20an%20SPFX%20solution%20with%20v1.12.1%20but%20in%20SharePoint%202019%20On-premises%20only%20support%20the%20v1.4.1%20.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20anyone%20advise%20that%20how%20I%20can%20downgrade%20the%20SPFX%20version%20and%20what%20will%20be%20impacted%20(any%20link)%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2962164%22%20slang%3D%22en-US%22%3ERe%3A%20Want%20to%20use%20SharePoint%20Online%20SPFX%20Solution%20to%20SharePoint%202019%20On%20Premises%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2962164%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1097655%22%20target%3D%22_blank%22%3E%40DJoshi2302%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFirst%20of%20all%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fspfx%2Frelease-1.12.0%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Eversion%2012%20is%20deprecated%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECreate%20a%20normal%20project%20to%20SP%202019%20this%20will%20downgrade%20to%2014.1.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESee%20what%20you%20have%20to%20change%2C%20like%20typescript%20versions.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20a%20good%20tool%20but%20I%20don't%20know%20if%20you%20have%20an%20option%20to%20downgrade%2C%20if%20not%20try%20to%20request%20a%20PR%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fpnp.github.io%2Fcli-microsoft365%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EOffice%20365%20CLI%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi everyone,

 

I have one requirement to use Sharepoint online SPFX solution to Sharepoint 2019 On-Premises.

 

So currently I have an SPFX solution with v1.12.1 but in SharePoint 2019 On-premises only support the v1.4.1 .

 

Can anyone advise that how I can downgrade the SPFX version and what will be impacted (any link)?

 

Thanks in advance

1 Reply

@DJoshi2302 

First of all version 12 is deprecated 

 

Create a normal project to SP 2019 this will downgrade to 14.1.

 

See what you have to change, like typescript versions.

 

There is a good tool but I don't know if you have an option to downgrade, if not try to request a PR

Office 365 CLI