odoo-xmlrpc icon indicating copy to clipboard operation
odoo-xmlrpc copied to clipboard

Module http does not exist in haste module map

Open dsk2370 opened this issue 5 years ago • 3 comments

I get this error when trying to launch simulator with this lib

unable to resolve module http from .../xmlrpc/lib/client.js

please help

dsk2370 avatar May 12 '19 18:05 dsk2370

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

pantxisto avatar Jun 04 '19 11:06 pantxisto

I have the same problem, did you find a solution?

Cicloqe avatar Jun 20 '19 10:06 Cicloqe

Me, too

RaisUpDeWold avatar Jun 26 '19 13:06 RaisUpDeWold