[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
0 REPLIES 0