Cannot import UiPage from @servicenow/sdk/core
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2026 12:05 AM
Hi,
when I write this in my ServiceNow IDE:
import { UiPage } from '@servicenow/sdk/core'I get this error:
Module '"@servicenow/sdk/core"' has no exported member 'UiPage'. ts (2305)
But according to the docs this is the way to write UiPages in fluent. What am I missing?
Thanks and regards,
Tobias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago - last edited a week ago
I ran into something similar while using the ServiceNow IDE. When looking through the node modules / installed dependencies, I noticed that the UiPages types weren't resolving correctly in TypeScript — it may be an issue with the Snow IDE not properly resolving the SDK packages.
What worked for me was creating a custom app locally using the ServiceNow SDK CLI, where the packages resolved as expected, and then deploying the app to my instance!
More details here: https://www.servicenow.com/docs/r/application-development/servicenow-sdk/create-application-now-sdk....
Hope this helped!

