Open dsk2370 opened 5 years ago
Hello,
I have te same problem. I´m running an Angular project and when start running the console shows this errors:
ERROR in ./node_modules/xmlrpc/lib/client.js Module not found: Error: Can't resolve 'http' in 'C:\Users\jcm\Desktop\Odoo\odoo-app\node_modules\xmlrpc\lib' ERROR in ./node_modules/xmlrpc/lib/server.js Module not found: Error: Can't resolve 'http' in 'C:\Users\jcm\Desktop\Odoo\odoo-app\node_modules\xmlrpc\lib' ERROR in ./node_modules/xmlrpc/lib/client.js Module not found: Error: Can't resolve 'https' in 'C:\Users\jcm\Desktop\Odoo\odoo-app\node_modules\xmlrpc\lib' ERROR in ./node_modules/xmlrpc/lib/server.js Module not found: Error: Can't resolve 'https' in 'C:\Users\jcm\Desktop\Odoo\odoo-app\node_modules\xmlrpc\lib'
Update: After investigate about it I see that this library with angular can have some problems because angular has his own http module and even changing required modules in client.js and server.js angular module haven´t request method, so it would be great an adaption to angular.
Thanks
I have the same problem, did you find a solution?
Me, too
I get this error when trying to launch simulator with this lib
unable to resolve module http from .../xmlrpc/lib/client.js
please help