puerts icon indicating copy to clipboard operation
puerts copied to clipboard

[unreal]使用superagent进行请求,加载模块报错

Open Evilom opened this issue 2 years ago • 2 comments

image

Evilom avatar Jul 25 '22 17:07 Evilom

找不到url模块,你那有这模块么?是nodejs的url么? 看下faq:https://github.com/Tencent/puerts/blob/master/doc/faq.md#npm%E4%B8%8A%E6%89%80%E6%9C%89%E5%8C%85%E9%83%BD%E5%8F%AF%E7%94%A8%E4%B9%88

chexiongsheng avatar Jul 29 '22 11:07 chexiongsheng

你需要用nodejs,可以用nodejs后端,参见安装文档。最新的nodejs后端已经支持手机:https://github.com/puerts/backend-nodejs/releases/tag/NodeJS_16.16.0_220809

chexiongsheng avatar Aug 16 '22 09:08 chexiongsheng