Open MiyamuraMiyako opened 3 years ago
This code Unhandled Rejection (Error): The protocol "http:" is not supported.
:
import * as hprose from '@hprose/rpc-core';
import '@hprose/rpc-html5';
const moduleClient = new hprose.Client('http://127.0.0.1:8412');
npm i --S @hprose/html5
then:
TypeError: _hprose_rpc_html5__WEBPACK_IMPORTED_MODULE_4__.Client is not a constructor
.