
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2021 01:14 PM
I've went through the steps of installing the ServiceNow CLI, but get this error when I try to scaffold a new UI component.
Command: snc ui-component project --name now-experience-dashboard --description "My First NXF component built at CreatorCon"
Error: Cannot find module 'keytar'
Require stack:
- ~/.snc/.extensions/ui-component/node_modules/@servicenow/cli-glide/connection/auth/credential-manager/keytar-synthesizer.js
I'm running macOs Catalina
I'm running nodeJs version 12.19.0.
I see a version discrepancy with the SNC CLI. The lab says the current version should be 19.0.0, however the command "snc version" shows that I have version 1.1.0. I just downloaded and installed today, so I'm pretty sure I have the latest version.
Thanks for any help!
Ryan
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2021 06:23 AM
I found an answer in an older community post.
Can simply install the keytar package to resolve.
npm i keytar
But now I have a new error. It seems this lab is more of an exercise in using Now Community. 😄
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2021 03:14 AM
Hi,
I have also the same error.
For my part, I'm running Windows 10.
Node.js : v14.16.1 (in Set up your environment | ServiceNow Docs, it is indicated "Node.js version 12.16.1 or greater").
Like Ryan Magsam, I'm stuck.
Thanks for your help.
Thierry

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2021 06:24 AM
I saw some of the linked packages in node warned me about being deprecated and not working after version 12. You may need to use version manager (nvm) to install version 12 and use it instead of 14.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2021 06:23 AM
I found an answer in an older community post.
Can simply install the keytar package to resolve.
npm i keytar
But now I have a new error. It seems this lab is more of an exercise in using Now Community. 😄
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2021 06:41 AM
Hi,
thanks a lot.
But the error is still present.