TencentCloud / TencentCloud/tencentcloud-sdk-nodejs
uniapp项目引入tencentcloud-sdk-nodejs报错:TypeError: promisify is not a function
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 600
- Forks
- 113
- Avg merge
- 6h 46m
- Merged PRs (30d)
- 1
Description
npm install tencentcloud-sdk-nodejs --save
然后在vue文件中引用
import * as tencentcloud from "tencentcloud-sdk-nodejs"
显示报错

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported npm install and the TypeScript import in a uni-app Vue file, using the exact tencentcloud-sdk-nodejs package entry point. Check the reported “promisify is not a function” failure and document the runtime and package versions involved; done means the import no longer raises that error or the compatibility limitation is clearly identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100