Error when Deploying SPFx Package to SP2019 On-Premises Production Site

Hermelyn Alvarado 0 Reputation points
2024-06-11T07:29:54.7966667+00:00

We're utilizing SPFx version 1.4.1 for SharePoint 2019 On-Premises. In our dedicated virtual machine (VM), development is carried out on our internal domain. Deploying to /sites/AppCatalog presents no issues. However, when attempting to upload the package to the production site with a different web application name, we encounter an error. It indicates that the solution will retrieve content from: This client-side solution will get content from the following domains:

  • HTTPS://SPCLIENTSIDEASSETLIBRARY/
  • https://{vmlocaldomain}

This points to our VM's domain. How should we configure our SPFx solution to address this?

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,369 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,808 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,032 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.