How do I prevent AWS Toolkit error notifications for unused AWS Toolkit services?
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 807
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 7
Description
- OS: Tahoe 26.2 on MB Pro M1
- Visual Studio Code version:
From the Antigravity About Window:
```
Antigravity Version: 1.15.8
VSCode OSS Version: 1.104.0
Commit: 7a8657542180fb8440c8dcc20d83285fe11360ed
Date: 2026-01-24T04:14:01.501Z (1 wk ago)
Electron: 37.3.1
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Darwin arm64 25.2.0
Language Server CL: 860355132
```
- AWS Toolkit: 3.95.0
- Amazon Q version: Unsure
## Question
How do I prevent AWS Toolkit error notifications for unused AWS Toolkit services?
Issue:
I recently installed AWS Toolkit for VS Code using the Google Antigravity IDE. I've correctly configured my AWS credentials and I'm able to access my AWS resources using the Explorer in AWS Toolkit. However, everytime Antigravity opens now the following three error notifications are displayed:
1. AWS CloudFormation client: couldn't create connection to server.
Source: AWS Toolkit
2. Server initialization failed.
Source: AWS Toolkit
3.
```
Request initialize failed with message: dlopen(/Users/stephenholsenbeck/Library/Caches/aws/toolkits/language-servers/cloudformation-languageserver/1.3.1/cloudformation-languageserver-1.3.1-darwin-arm64-node22/node_modules/@tree-sitter-grammars/tree-sitter-yaml/prebuilds/darwin-arm64/@tree-sitter-grammars+tree-sitter-yaml.node, 0x0001): tried: '/Users/stephenholsenbeck/Library/Caches/aws/toolkits/language-servers/cloudformation-languageserver/1.3.1/cloudformation-languageserver-1.3.1-darwin-arm64-node22/node_modules/@tree-sitter-grammars/tree-sitter-yaml/prebuilds/darwin-arm64/@tree-sitter-grammars+tree-sitter-yaml.node'
...
not valid for use in process: m...
```
Reproduction Steps:
1. Open Google Antigravity IDE.
2. Install AWS Toolkit Extensions.
3. Configure AWS Credentials in .aws/credentials file and Configure AWS Region in .aws/config file.
4. Close and reopen Google Antigravity IDE.
Expected Behavior: I should be able to opt-out of the CloudFormation client and Server initialization via the AWS Toolkit user settings. However, I am not able to find documentation on how to do this. I attempted setting
`"aws.samcli.enableCodeLenses" : false` per the thread [here](https://github.com/aws/aws-toolkit-vscode/issues/3510) but it did not resolve the issue. I've also unchecked those services using the three dot menu at the top of the AWS Toolkit extension interface, but the notifications persist.
Actual Behavior: The error notifications continue to be displayed everytime Antigravity opens.
Contributor guide
Research direction
Start with the AWS Toolkit user settings and the CloudFormation language-server initialization described in the error, then reproduce the notifications in Google Antigravity using the listed steps. Check how the CloudFormation client and server are started when services are unchecked. Done means users can opt out of those services and reopening the IDE produces no related error notifications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript, vscode
- Domain
- cloud, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100