Trouble installing ServiceNow CLI (UI-Component)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2023 03:58 PM - edited 11-14-2023 04:09 PM
Hi, when I try to install ui-component I get this error on Windows 11 with node v20.9.0
c:\tmp> snc extension add --name ui-component
NPM version 10.2.3 found, expected >= 6.13.4
Can't add extension ui-component. Please try again.
please help!
I found the solution by installing that specific version of npm but I get a lot of warnings for deprecated modules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2025 03:27 AM
I've just experienced the same issue - whilst taking the course "Introduction to External Component Development - San Diego"
Also, apologies for hijacking an old post, just this is the top result when searching for the exact error message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2025 10:42 AM
I am about to create a new UI component, and I got the following error:
NPM version 10.9.2 found, expected >= 6.13.4
Can't add extension ui-component. Please try again.
I resolved this error, after downgrading the NPM with command - npm install -g npm@6.13.4 and it solved the issue.