nativescript和swagger客户端

nativescript和swagger客户端,swagger,nativescript,Swagger,Nativescript,如何在nativescript中使用swagger客户端 我已在nativescript项目中安装了swagger客户端模块,需要时出现以下错误: JS ERROR Error: Could not find module 'tty'. 我猜nativescript中缺少模块,但有办法克服吗?此时,nativescript不支持tty。 这被记录为一个功能请求,这是个麻烦。刚开始喜欢nativescript。tty目前甚至不是npm提供的,请看这里

如何在nativescript中使用swagger客户端

我已在nativescript项目中安装了swagger客户端模块,需要时出现以下错误:

JS ERROR Error: Could not find module 'tty'.

我猜nativescript中缺少模块,但有办法克服吗?

此时,nativescript不支持tty。
这被记录为一个功能请求

,这是个麻烦。刚开始喜欢nativescript。
tty
目前甚至不是npm提供的,请看这里