v92: Custom plugin module in angular portal stops loading after a few days (IIS)

Hi,

In v92 we've made some modifications of the Html_tsb plugin for qer-app-portal. 

After compilation, we zip the dist/tsb contents , upload the Html_tsb.zip file  to <apiserver>\imxweb\custom\  and we're done. The module loads and runs flawlessly. However, after a few days, the webserver refuses loading that very same module and the browser dev console throws  the following error:

"2025-01-08T11:00:23.489Z ERROR [main.44856d607908e1f5.js:1] Boom Loading of TsbConfigModule (tsb) failed with the following error: Cannot read properties of undefined (reading 'TsbConfigModule') 
Caller: m"

The module won't load at all, no matter if we reset the iis machine, clear the webcache or other cache folders.

In Designer we've marked that module with autoupdate = false.

Thing is, if we run a debug session in Visual Studio Code of qer-app-portal and tsb (build:watch:dynamic) the module loads and works perfectly everytime.

Is this an iis related thing or maybe we're following a wrong procedure when moving onto production?

Any help would be greatly appreciated. This thing is disrupting our customer service.

Thanks.

Parents Reply Children
No Data