Sharepoint requesting files from SPFx solution with wrong port #10031
Labels
Needs: Triage 🔍
Awaiting categorization and initial review.
type:bug-suspected
Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
I am trying to run a hosted workbench from my SPFx solution on the port 4322 (4321 is reserved by colleague) using URL params
?loadSPFX=true&debugManifestsFile=https://localhost:4322/temp/manifests.js
which works fine, I can see the webpart in the webpart listBut when I add the webpart I get this error on the page, and these in the console - looking by URL it seems that Sharepoint is trying to read the files using the port 4321 and not 4322
The solution is run via command
gulp serve --nobrowser --max-old-space-size=8192
serve.json
Thanks
Steps to reproduce
Expected behavior
I expect Sharepoint to run the solution on port 4322
The text was updated successfully, but these errors were encountered: