autopulous / angular2-soap

Angular 2 SOAP client service (supports Angular 2 rc 4)
30 stars 23 forks source link

Cannot find name / namespace 'xdom2jso' #9

Open anusreemn opened 7 years ago

anusreemn commented 7 years ago

Hi @autopulous @Neoheurist ,

I installed npm package 'autopulous-xdom2jso', and imported service as well. But building my app throws me errors below. Please help in resolving this:

ERROR in [at-loader] src/app/services/soap.service.ts:6:18 
    TS2304: Cannot find name 'xdom2jso'.

ERROR in [at-loader] src/app/services/soap.service.ts:6:18 
    TS2503: Cannot find namespace 'xdom2jso'.
narasimhakvl commented 7 years ago

I have used same "autopulous-angular2-soap": "^0.4.7" . but I am getting below exception. please help to resolve this. ERROR in E:/CCDT/Angular2-Application/angular2-soap/src/soap.service.ts (1,18): Cannot find name 'xdom2jso'. ERROR in E:/CCDT/Angular2-Application/angular2-soap/src/soap.service.ts (1,18): Cannot find namespace 'xdom2jso'. ERROR in E:/CCDT/Angular2-Application/angular2-soap/src/soap.service.ts (84,21): Type 'Document' is not assignable to type 'NodeListOf'. Property 'length' is missing in type 'Document'.