Forum Discussion
Mario1109
Jun 14, 2023Copper Contributor
Error gulp serve SPFx Form Customizer
Hello, since two days I have the following problem with my SPFx form customizer, when I want to run the project with the command gulp serve I get this error. I have deployed the form to my SharePoin...
IndyDetour
Aug 27, 2024Copper Contributor
Check the serve.json file in your project. Scroll down, you'll see references to "Edit form", "View form", etc.... One of the properties will be "ID", make sure there is a valid value in this property. The ID listed should correspond to an record ID in the actual SharePoint list.
I get these types of errors when I forget to change the ID in serve.json so the edit form is trying to pull list item with an ID of "50", but it no longer exists due to changes I made so I need replace the "50" with the ID of a record that still exists in the list.
I get these types of errors when I forget to change the ID in serve.json so the edit form is trying to pull list item with an ID of "50", but it no longer exists due to changes I made so I need replace the "50" with the ID of a record that still exists in the list.
Perneel
Oct 11, 2024Copper Contributor
IndyDetour It also happens on the new form, so I think there is more going on. I did not find any solution for this issue. It's also only this project that refuses to load. Other projects with same dependencies do work. So I'm a bit confused what the issue could be to be honest.