Base solution for your next web application
Open Closed

Error ng building Angular Project #9659


User avatar
0
bancentral created

Hello Guys,

My team and i are doing some changes to the Angular Client project, there are some endpoints in the ProxyService that we changed to get data from many microservices instead of get data from the base endpoint. This is perfectly working on localhost, but when we try to ng build the project, we are getting an error relationed to the "GetAllScrips". We are using the last version of ABP Framework (.NET CORE + Angular).

Thanks in advance.


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    we are getting an error relationed to the "GetAllScrips". We are using the last version of ABP Framework (.NET CORE + Angular).

    hi

    Can you share the detail error info?

  • User Avatar
    0
    bancentral created

    Hello,

    We tried so many things, now we removed some of the changes we made, we only keep the changes on the serviceProxies where we have many endpoints that are connected to different services with different domain, now we are getting the error bellow: "Could not find localization source: AbpWeb".

  • User Avatar
    0
    maliming created
    Support Team

    hi

    Did you follow the steps similar to the following to publish angular?

    .Run the yarn command to restore packages Run the ng build -prod (IIS)Copy the web.config file that is placed in angular folder to dist folder Configure the angular/dist/assets/appconfig.json Use files in the dist folder