Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "alanshumnz"

Hi, this ticket can be closed. I was using temporarily using an angular.json file to run a migration which was overriding my project.json file containing the abp imports. Once it was deleted, it started working.

Yes, this is present. We have an equivalent project.json (due to using NX) file which contains this. I have replaced this file (abp.js) and all other files in the assets folder with the most up-to-date versions after running into this issue.

This is not a project I can share. And it's not easy to create a simple repro.

I am happy to provide files or snippets to work out what the issue is.

We have an application running on angular with NX.

We have recently upgraded from Angular 13 to 16. As part of this upgrade we have also upgraded abp-ng2-module 9.0.0 for compatibility. The application compiles OK, with no errors and no warnings related to ABP. However, when visiting the application in the browser I get no response but a console error: 'abp is not defined'. This seems to be an identical scenario as this ticket: https://support.aspnetzero.com/QA/Questions/11417/ReferenceError-abp-is-not-defined

I have installed abp-web-resources module but this made no difference. I'm not sure if I am missing an import. I have created and downloaded a sample bundle of v12.3.1 and cross-referenced the appPreBootstrap.ts and typings.d.ts files to find any clues but cannot find a solution.

Are there any recommendations you can offer for narrowing down this issue?

Showing 1 to 3 of 3 entries