lula / ngx-soap

Simple SOAP client for Angular
MIT License
66 stars 61 forks source link

Problems with angular 10 #91

Open MarcusGV opened 3 years ago

MarcusGV commented 3 years ago

Nice job, Im using angular 10 but when I compile get this error, amy suggestions?

Thanks a lot

ERROR in Debug Failure. False expression.

ERROR in node_modules/ngx-soap/lib/ngx-soap.module.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of PrivateModule, but could not be resolved to an NgModule class.

This likely means that the library (ngx-soap) which declares NgxSoapModule has not been processed correctly by ngcc, or 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.

1 export declare class NgxSoapModule {
                       ~~~~~~~~~~~~~
lula commented 3 years ago

Hi @MarcusGV what version are you using? With the latest 0.7.0 I can't see such an error

Compiling @angular/core : es2015 as esm2015 Compiling @angular/common : es2015 as esm2015 Compiling @angular/platform-browser : es2015 as esm2015 Compiling @angular/common/http : es2015 as esm2015 Compiling @angular/platform-browser-dynamic : es2015 as esm2015 Compiling ngx-soap : es2015 as esm2015

chunk {main} main.js, main.js.map (main) 56.8 kB [initial] [rendered] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 141 kB [initial] [rendered] chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered] chunk {styles} styles.js, styles.js.map (styles) 12.5 kB [initial] [rendered] chunk {vendor} vendor.js, vendor.js.map (vendor) 3.29 MB [initial] [rendered] Date: 2020-11-09T09:27:14.987Z - Hash: 86059c44d178b990a883 - Time: 9445ms

phmjunior commented 1 year ago

I have same problem. my version of ngx-soap [0.7.0], angular [9.1.1].

seyfer commented 7 months ago

hey @MarcusGV and @phmjunior, I think the Angular app code included in this repo is just for example, it is not supposed to compile. The most valuable code is in /project directory, as this is what get's compiled into the library

if you want to contribute, feel free to do it in my updated version of this package https://github.com/lula/ngx-soap/issues/125#issuecomment-1898767558