We have the same issue, but I can't seem to access the fix on Github. How can I access to the solution?
I have updated angular-cli.json file to include environmentSource with correct information. When I run npm start command I see the same errors. Some sample error here:
ERROR in C:/Work/Beneration/VerifiaBill/Source/angular/src/root.module.ts (21,9): Cannot find name 'abp'.) C:/Work/Beneration/VerifiaBill/Source/angular/src/root.module.ts (26,29): Cannot find name 'abp'.) C:/Work/Beneration/VerifiaBill/Source/angular/src/root.module.ts (32,25): Cannot find name 'abp'.) C:/Work/Beneration/VerifiaBill/Source/angular/src/root.module.ts (36,25): Cannot find name 'abp'.)
BTW, I am using Typescript 2.2.1, Visual studio 2015 (update 3) and all necessary dependencies.
I get following errors while compiling the UI project:
C:\Work\Beneration\VerifiaBill\Source\angular\node_modules\abp-ng2-module\src\abp-user-configuration.service.ts(16,37): error TS2304: Build:Cannot find name 'abp'. 1> 1> 1>C:\Work\Beneration\VerifiaBill\Source\angular\node_modules\abp-ng2-module\src\auth\permission-checker.service.ts(7,16): error TS2304: Build:Cannot find name 'abp'. 1> 1> 1>C:\Work\Beneration\VerifiaBill\Source\angular\node_modules\abp-ng2-module\src\auth\token.service.ts(7,16): error TS2304: Build:Cannot find name 'abp'. 1> 1> 1>C:\Work\Beneration\VerifiaBill\Source\angular\node_modules\abp-ng2-module\src\auth\token.service.ts(11,16): error TS2304: Build:Cannot find name 'abp'. 1> 1> 1>C:\Work\Beneration\VerifiaBill\Source\angular\node_modules\abp-ng2-module\src\auth\token.service.ts(15,9): error TS2304: Build:Cannot find name 'abp'. 1> 1> 1>C:\Work\Beneration\VerifiaBill\Source\angular\node_modules\abp-ng2-module\src\auth\token.service.ts(19,9): error TS2304: Build:Cannot find name 'abp'.
Attached is the outout from the build window. Spent a lot of time trying to fix this error, any help is appriciated.