HomeGuidesAPI ReferenceChangelogDiscussions
GuidesiMIS ProfessionaliMIS EnterpriseClient SupportLog In
Discussions
These docs are for v20.3.44. Click to read the latest docs for v20.3.192.

Discussions

Ask a Question
Back to All

Angular iMIS API and Dependancy problems

(I posted this question as a followup to an older post but not sure if it was seen)

I'm wanting to use the iMIS API in an existing Angular iPart and referring to https://developer.imis.com/docs/developing-a-client-based-ipart.

npm install @advsol/core doesn't play well with my app versions, currently at angular 16.

To get around this, I tried npm install @advsol/core --legacy-peer-deps

This at least installed w/o errors and warnings,

"dependencies": {
"@advsol/core": "^0.0.11",
"@angular/animations": "^16.0.0",
"@angular/common": "^16.0.0",
"@angular/compiler": "^16.0.0",
"@angular/core": "^16.0.0",
"@angular/forms": "^16.0.0",
"@angular/platform-browser": "^16.0.0",
"@angular/platform-browser-dynamic": "^16.0.0",
"@angular/router": "^16.0.0",
"jest-editor-support": "*",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.0.0",
"@angular/cli": "~16.0.0",
"@angular/compiler-cli": "^16.0.0",
"@types/jasmine": "~4.3.0",
"jasmine-core": "~4.6.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"typescript": "~5.0.2"
}

however, attempting to build the app gives the following:

node_modules/@advsol/core/lib/asi-core.module.d.ts:1:22
1> 1 export declare class AsiCoreModule {
1> ~
1> This likely means that the library (@advsol/core) which declares AsiCoreModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

What do I need to use the ASI package?

Thanks!

Contact us
Copyright © Advanced Solutions International, All rights reserved.