VS code中调试项目报错 “Uncaught NodeError: The "original" argument must be of type function”

Open
#98 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
node.js, vscode
Domain
backend

Research direction

Reproduce the error by running the Koa2 project through VS Code Code Runner, then compare it with node bin/www. Test the reported SDK versions 4.0.23 and 4.0.241 and record the Node.js, VS Code, and Code Runner versions. Done means identifying whether the failure is in the SDK or the VS Code execution setup and documenting a reproducible fix or workaround.

Written by the indexing model from the issue text.

Description

vscode中使用code runner运行koa2项目,就会报这个错误。
如果直接通过 node bin/www 的方式运行则没有error,很奇怪。
sdk版本4.0.23,升级到4.0.241后依然有这个问题。

Dominant language
TypeScript
Stars
600
Forks
113
Avg merge
6h 46m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TencentCloud/tencentcloud-sdk-nodejs

All issues in TencentCloud/tencentcloud-sdk-nodejs

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.