Unable to load web-parts in SharePoint page

Meet Bhatt 21 Reputation points
2021-04-23T09:39:56.717+00:00

Hello Everyone,

I am trying to add Modern Script Editor and SPFx web part in my SharePoint online modern page.

it is thrown below error,

![90762-ss.png

Can anyone help me for the same?

Thanks

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,289 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MichaelHan-MSFT 18,021 Reputation points
    2021-04-26T05:40:51.923+00:00

    Hi @Meet Bhatt ,

    If you run the spfx on your local workbench, does it work?

    If it works on the local workbench, seems that you have issue to access the js file host in your appcatalog site.

    You could try to enable the CDN in your tenant, then redeloy the spfx web part. Check if it will work.

    You could refer this article to enable CDN: https://www.c-sharpcorner.com/article/enable-cdn-in-your-office-365-tenant-for-spfx-webpart/


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments