-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uniapp项目引入tencentcloud-sdk-nodejs报错:TypeError: promisify is not a function #135
Comments
同样的问题,你这边解决了吗? |
解决了吗 |
这个是在node.js上运行的,并不是在前端上直接使用的。 |
感谢回复!我是在react项目中引入时报这个错,这样不行得话应该怎样引入呢 |
谢谢谢谢老哥 我现在明白是怎么回事了 感谢你的代码!
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2023年04月05日 19:28 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [TencentCloud/tencentcloud-sdk-nodejs] uniapp项目引入tencentcloud-sdk-nodejs报错:TypeError: promisify is not a function (Issue #135) |
这个并不是在前端的页面进行引入,而是做成node.js后端接口挂载在4001端口上,然后通过跨域的形式通过前端用axios进行请求后端的接口的形式进行调用。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
npm install tencentcloud-sdk-nodejs --save
然后在vue文件中引用
import * as tencentcloud from "tencentcloud-sdk-nodejs"
显示报错
The text was updated successfully, but these errors were encountered: