【发布时间】:2021-02-15 11:06:07
【问题描述】:
我想让客户端 my 重新连接到我的服务器,以防服务器重新启动。因此,我正在尝试以下piece of code。问题是,在将这一行 "rsocket-tcp-client": "^0.0.23" 添加到我的 package.json 并运行 $npm install && ng update && ng serve 之后,我收到以下错误消息:
Error: ./node_modules/rsocket-tcp-client/build/RSocketTcpClient.js
Module not found: Error: Can't resolve 'net' in '/Users/gitter/myproject/node_modules/rsocket-tcp-client/build'
Error: ./node_modules/rsocket-tcp-client/build/RSocketTcpClient.js
Module not found: Error: Can't resolve 'tls' in '/Users/gitter/myproject/node_modules/rsocket-tcp-client/build'
欢迎任何帮助。
【问题讨论】:
标签: rsocket