I Have created a SPFx hello world webpart it's running good in the local work bench and i have created the package and tested but it getting error, and finally i found that it's because of the internalModuleBaseUrls property in the loaderConfig entry still refers to your local computer:

"internalModuleBaseUrls": [


how can i run the application without the local server ? and where to upload the required files and which are they ?

please am waiting for your reply. Thanks

1 Answer 1


This is described in detail in the Deploy your SharePoint client-side web part to a CDN article. While the article uses deploying the web part files to an Azure Blob Storage account as an example, you can use any server to host your files, as long as they are accessible over https.

The URL pointing to where your files are stored is defined in the ./config/write-manifests.json file. After changing the URL you should build and package your solution in release mode using the following commands:

gulp bundle --ship
gulp package-solution --ship

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.