Jan 22, 2023

SPFx : Error loading debug manifests.

 Hi,

I recently upgraded my machine to windows 11 home version and when trying to build a SPFx application customizer extension for the first time, I have noticed this error.

"Error loading debug script. Ensure the server is running and the "debugManifestsFile" parameter URL is correct.

Error: Script error for: https://localhost:4321/temp/manifests.js http://requirejs.org/docs/errors.html#scripterror"


Resolution: Run gulp trust-dev-cert in your project location on the command prompt. Which creates a local certificate for development and debugging



Thanks,

Purna