Skip to content
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

Extension example produces build error "Cannot find name 'AbortSignal'." when using the docs in https://code.visualstudio.com/api/get-started/your-first-extension #308

Closed
ghost opened this issue Oct 22, 2021 · 1 comment
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Oct 22, 2021

Does this issue occur when all extensions are disabled?: Yes/No
Yes

  • VS Code Version:
    1.6.1.2 (system setup)

  • OS Version:
    Windows 10 Enterprise

Steps to Reproduce:

  1. Prepare the helloworld extension example, as per the docs. Running it with F5.
  2. Edit the extension.ts file in any way
  3. Notice the "Problems" tab give the above error
  4. This can be fixed by adding "DOM" to the lib:[] compiler option in tsconfig.json
@aeschli
Copy link
Contributor

aeschli commented Oct 23, 2021

Caused by the update of @types/node to 14.17.28
DefinitelyTyped/DefinitelyTyped#56388
DefinitelyTyped/DefinitelyTyped@87f7309

Workaround is to use "@types/node": "14.17.27"

@aeschli aeschli closed this as completed Oct 23, 2021
@aeschli aeschli transferred this issue from microsoft/vscode Oct 23, 2021
@aeschli aeschli reopened this Oct 23, 2021
@aeschli aeschli closed this as completed Oct 23, 2021
@aeschli aeschli added this to the October 2021 milestone Oct 23, 2021
@aeschli aeschli assigned aeschli and unassigned mjbvz Oct 23, 2021
aeschli added a commit that referenced this issue Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants