Oct 01 2024 12:58 AM - edited Oct 01 2024 12:59 AM
After successfully running gulp serve and attempting to add my custom web part (specifically a news web part) to a modern SharePoint page, I encountered the following error:
Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.
Technical Details
ERROR:
[object Object]
This issue occurs when adding the web part to a SharePoint page, even though the build and serve commands (gulp serve) seem to work without any issues.
Oct 01 2024 01:43 AM
Hi @zaknof,
Please also check the developer console; there might be additional information about the error.
Is there any information displayed in the command line after running gulp-serve?