You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create SPFx web part FOR ON-PREM 2019 but facing issues on running the gulp serve command following creating a basic helloworld web part (no coding).
OS - Windows 10
Node version - 8.15.1
NPM version - 6.9.0
SPFx version - 1.8.0
I followed everything as per Microsoft documentation, which I have done successfully for ONLINE many times. However, when trying to create same but for ON-PREM 2019 the yoman generator doesn't create something that builds. gulp serve throws an error.
With some investigation I note that package.json dependancies are "~1.4.0" and devdependancies are "~1.4.1". The error complains about "@microsoft/sp-property-pane" which is in the header of the main web part (HelloWorldWebPart.ts).
With a little reading up, isn't "@microsoft/sp-property-pane" a SPFx 1.8.0 thing? Shouldn't the generator for ON-PREM 2019 be outputting 1.4 compatible code?
I build ONLINE web parts too so may well be that my environment is too 'latest/greatest' for On-PREM?
Can anyone provide the ideal node/npm/yo/SPFx etc. versions required to build ON-PREM 2019 SPFx web parts?
The text was updated successfully, but these errors were encountered:
patmill
added
status:duplicate
Duplicate of another issue. See comments for ref to other issue. Dupes closed to consolidate.
and removed
Needs: Triage 🔍
Awaiting categorization and initial review.
labels
Apr 8, 2019
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
I am trying to create SPFx web part FOR ON-PREM 2019 but facing issues on running the gulp serve command following creating a basic helloworld web part (no coding).
OS - Windows 10
Node version - 8.15.1
NPM version - 6.9.0
SPFx version - 1.8.0
I followed everything as per Microsoft documentation, which I have done successfully for ONLINE many times. However, when trying to create same but for ON-PREM 2019 the yoman generator doesn't create something that builds. gulp serve throws an error.
With some investigation I note that package.json dependancies are "~1.4.0" and devdependancies are "~1.4.1". The error complains about "@microsoft/sp-property-pane" which is in the header of the main web part (HelloWorldWebPart.ts).
With a little reading up, isn't "@microsoft/sp-property-pane" a SPFx 1.8.0 thing? Shouldn't the generator for ON-PREM 2019 be outputting 1.4 compatible code?
I build ONLINE web parts too so may well be that my environment is too 'latest/greatest' for On-PREM?
Can anyone provide the ideal node/npm/yo/SPFx etc. versions required to build ON-PREM 2019 SPFx web parts?
The text was updated successfully, but these errors were encountered: