- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 08:34 AM
Getting error Could not find an active connection to a ServiceNow instance
snc ui-component project --name @myorg/now-experience-dashboard --description ‘My first NXF component built at CreatorCon’
Could not find an active connection to a ServiceNow instance.
Configuration info
snc version{
- "extensions": {
- "ui-component": "20.0.0"
- },
- "snc": "1.1.0"
- }
node -v
- v12.22.8
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 09:58 AM
Exact same issue was faced by another user.
https://community.servicenow.com/community?id=community_question&sys_id=0b178a861b48b85017d162c4bd4bcb80
Plz chk the workaround done by him , and see if it helps
Mark my Answer as Correct and Helpful if it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 09:58 AM
Exact same issue was faced by another user.
https://community.servicenow.com/community?id=community_question&sys_id=0b178a861b48b85017d162c4bd4bcb80
Plz chk the workaround done by him , and see if it helps
Mark my Answer as Correct and Helpful if it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 12:13 PM
Yep look like you need a specific user other than default. I created another user using the
snc configure profile set [--profile profile-name] command.
Next I add the user to the command with the --profile parm and it worked
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022 08:06 PM
Hi Jim , If my comment helped you in achieving your objective. Can you Mark my Answer as CORRECT