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

Activities of "mohr"

I have updated angular from 8 to 9.0.4 I get the the error TS2304: Cannot find name 'abp'. when running the ng build or npm start

My package json has - "abp-ng2-module": "^5.1.1", "abp-web-resources": "^5.2.0",

Please find below some sample errors

           ~~~

src/app/admin/audit-logs/audit-logs.component.ts:157:16 - error TS2304: Cannot find name 'abp'. return abp.utils.truncateStringWithPostfix(text, length); ~~~ src/app/admin/dashboard/host-dashboard.component.ts:142:21 - error TS2304: Cannot find name 'abp'. window.open(abp.appPath + 'app/admin/tenants?' + ~~~ src/app/admin/dashboard/host-dashboard.component.ts:147:21 - error TS2304: Cannot find name 'abp'. const url = abp.appPath +

Question

hi i am usinge httpclient in Angular to post to a remote end point. The issue i am having is that i need to remove the Authorization header which appears to be added somewhere else. i have overridden the headers in the call but it had no effect.

any help appreciated

Showing 1 to 2 of 2 entries