[ERROR] Package `@servicenow/sdk@4.0.2` was not found in registry.

David Dietrich1
Tera Expert

I've been working through the ServiceNow University course "Introduction to the ServiceNow IDE (Xanadu)", and I encountered an error in Module 5 of 12: "LAB Build and install app on your instance". When I click "Build and Deploy" in my lab instance, the ServiceNow IDE returns this error:

DavidDietrich1_0-1762633798098.png

[ERROR] Package `@servicenow/sdk@4.0.2` was not found in registry.
 
I notice that when I create the application using the "TypeScript" template (per the Lab instructions), the Package Manager output returns the above package error, then it falls back on the default version and returns an error for that as well:
 
Installing dependencies in "Report a safety issue"...
[ERROR] Package `@servicenow/sdk@4.0.2` was not found in registry.
Installing dependencies in "Report a safety issue"...
[ERROR] Package `@servicenow/sdk@4.0.2` was not found in registry.
Installing dependencies in "Report a Safety Issue"...
[ERROR] Package `@servicenow/sdk@4.0.0` was not found in registry.
 
Fluent output returned a package resolver error:
 
[ide] Building Report a safety issue ...
[ide] [ERROR] Failed to build Report a safety issue
: Could not resolve @Servicenow/sdk/package.json
1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @David Dietrich1 

Since this is a lab issue, it’s best to log a Now Learning support case so the team can investigate and resolve it.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************