Forum Discussion
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 SharePoint list but I need to fix the Display and Edit Forms.
I tried checking the logs for the Correlation ID, but I don't find them, I don't have the folder Web server extensions.
5 Replies
- IndyDetourCopper ContributorCheck 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.- PerneelCopper 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.
Mario1109 Are there any errors in the browser console in browser developers tool?
Was it working fine previously or this is the first time you are testing this SPFx solution?
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- Mario1109Copper ContributorNo, there are no errors in the browser. The form was working fine before.