Closed ramkrishna70 closed 3 years ago
I have the same issue. the client.js and server.js files both require the http and https scripts but none are found in the plugin node-modules directory .
This is and error with angualr-devkit. You need change this file: node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/webpack-configs/browser.js
Find the line node: false
and replace it with node: {http:true,https:true,url:true}
Its a few dirty, but works. The best choice is make and script.
@ibuioli Modifying files in node_modules? This is not a solution at all
@ibuioli Modifying files in node_modules? This is not a solution at all
You can use this. Just create a service class in your project and copy code of index.ts file to your new server some named as "xmlrpc"
https://github.com/ramkrishna70/ionxmlrpc
This will work like charm, hope this will resolve your issue.
I installed xmlrpc package in angular project to call the api, but while using xmlrpc import, it raised error.
My angular setup:
setting.ts:
Please suggest me, if I have missed any thing.