ServiceNow IDE Unable to Install Any Dependencies

tootonebojangle
Tera Contributor

Hi everyone, I was excited to play around with the ServiceNow IDE on a PDI of Yokohama and whenever I create a new application it fails to find the servicenow/sdk package and fails to install dependencies of any version from package.json.

Because of this it cannot recognize any library related to the sdk and renders and builds or development useless.

I cannot even run the automatically generated test application. 

Any idea what is causing and why it fails to install any dependencies? This is a fresh PDI that I have restarted/refreshed several times.

 
2 REPLIES 2

BryceG
ServiceNow Employee
ServiceNow Employee

@tootonebojangle can you open the chrome developer tools and run the package installer, see if you are getting any network or console errors?  I saw this before with someone who had some security policies on their laptop that was  blocking npm domains

Hi Bryce,

I just checked and you are right it is being blocked by CORS policy for this not having a Access-Control-Allow-Origin header on the request to npm for the sdk.