
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2023 08:50 AM
I've been using the ServiceNow VS Code extension for years and love it. As of yesterday, the extension stopped working and I see this message when I toggle the developer tools with the help menu.
Activating extension 'ServiceNow.now-vscode' failed: Cannot find module 'keytar'
If I try to activate the Extension (cmd-shift-p Activate Now Extension), I get this error.
I did make a few changes yesterday to my system and they may be related but I'm not finding any solutions for this on the web, communities, etc. Here is my system details and what I've done recently that may be related to my issue.
- I upgraded my Macmini yesterday MacOS to Sonoma yesterday. I also restarted VS Code as it asked me to update as well. Therefore, my system is fully up to date with latest MacOS, VS Code, the SN Extension and the extension dependencies.
- I completely removed VS Code from my system and reinstalled. Still getting same error.
- I completely uninstalled extensions and reinstalled. Still getting same error.
- Version of Extension: ServiceNow® Extension for VS Codev1.6.1
- Version of VS Code:Version: 1.83.0 (Universal)
Here is a very interesting detail as well. I have a Macbook Pro computer too and work on that just the same. I did all the exact same upgrades on my Macbook Pro that I did on my Macmini. However, my Macbook Pro does NOT have this problem after the upgrade. That is, the SN VS Code extension works perfectly on my Macbook Pro while it's broken on my Macmini. Any help is greatly appreciated.
Todd
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2023 12:06 PM
I started getting the error after VScode updated to its September release. Once I installed the August 2023 version the extension started working again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2023 08:55 AM
@Tobias Persson_ I can't give your exact date but we are planning to fix and release a working extension by November month.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2023 05:46 AM - edited 12-07-2023 05:49 AM
Hi @Todd O ,
Thrilled to announce the arrival of our latest update, Vscode ServiceNow extension (v1.7.0), where we've tackled that pesky issue head-on!
https://marketplace.visualstudio.com/items?itemName=ServiceNow.now-vscode
Please mark the answer correct/helpful based on impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 07:44 AM
It's November, and I'm still getting the error. What's the status of the fix you mentioned?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2023 01:39 AM - edited 12-04-2023 01:40 AM
Hi, is there any update on this? It is currently December, without any communication on what is happening
Due to company security policies, I cannot install previous versions of VSCode, so the extension not working on the current version is having a major blocker on app development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2023 01:40 PM
I'm having the same issue but on a HP laptop and I'm using The August 2023 release of VS Code. Any suggesstions?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2023 07:55 PM
Hi @Tarique-Pierre, make sure you are opening the version that is officially installed on your computer. I know on my mac, I can have multiple versions. If that's not your problem, the only other suggestion I have is to watch out for the auto updater in VS Code. What that will do is automatically keep upgrading you to the new version. You think everything is okay and then it's broken again when that happens. Just turn off the auto update feature.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2023 05:46 AM - edited 12-07-2023 05:49 AM
Hi @Todd O ,
Thrilled to announce the arrival of our latest update, Vscode ServiceNow extension (v1.7.0), where we've tackled that pesky issue head-on!
https://marketplace.visualstudio.com/items?itemName=ServiceNow.now-vscode
Please mark the answer correct/helpful based on impact.