Forum Discussion

sunny1512's avatar
sunny1512
Copper Contributor
May 09, 2022

SPFX ENVIONMENT ISSUE

I set up a new spfx environment. After running Gulp Serve command getting below error screen.

node version : v12.22.12

Npm version : 8.7.0

below is the code of serve.json file

{
  "$schema""https://developer.microsoft.com/json-schemas/core-build/serve.schema.json",
  "port"4321,
  "https"true,
  "initialPage""https://localhost:4321/_layouts/workbench.aspx"
//"initialPage": "https://enter-your-SharePoint-site/_layouts/workbench.aspx"
}
 
under node module folder sp-webpart-workbench folder also missing

 

No RepliesBe the first to reply