pnp/docker-spfx

***Manifest not found for componentId and Field Customizer

Sartor87 opened this issue · 8 comments

  1. Created a hello world field customizer
  2. Updated serve.json, write-manifests.js and @node module per instructions
  3. Opened link as follows

https://MyTenant.sharepoint.com/sites/SiteCollection/Lists/List%20A/AllItems.aspx?debugManifestsFile=https://spfx:4321/temp/manifests.js&loadSPFX=true&fieldCustomizers={%22HelloWorld%22:{%22id%22:%225e2385b5-bfd4-44c5-97d6-a392e942a6ab%22,%22properties%22:{%22sampleText%22:%22Value%22}}}

  1. Tried updating debugManifestsFile parameter with 0.0.0.0 and localhost with no success
  2. Ensured that the field exists as expected

SPFX version: 1.6.0
Docker-SPFX: latest

Can you navigate in your browser to https://spfx:4321/temp/manifests.js?

Already did that and skipped certificate check.

Is the component ID mentioned in the URL in the manifests.js file?

If the component ID is not there, it could explain the issue. Have you tried running gulp clean and gulp serve again?

Already tried that out, even removed build files by hand

OK, I've fixed it by re-building the solution from scratch - something was missing somewhere. I'd assume that it has something to do with the component ID as I was playing around it.

Good to hear you're unblocked 👍