ServiceNow IDE Unable to Install Any Dependencies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 11:02 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2025 02:14 PM
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2025 08:14 PM
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.