Custom component fails to deploy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2022 12:01 AM
Hi,
Can someone please tell me what I did wrong while deploying my custom component, using Servicenow CLI, to a Sandiego dev instance?
- See the attached snc-create.txt for all creation output which I copy/pasted from gnome-terminal.There was no errors.
- Versions: node 12.16.1, npm v6.13.4, ui-component: v21.0.0
- I tried on Fedora 35 and Ubuntu 20.04 and I get the same error. Both Ubuntu and Fedora were brand new installs with only Node and ServiceNow CLI installed.
- I downloaded CLI from https://github.com/ServiceNow/servicenow-cli/releases/download/v1.1.0/ServiceNow.CLI.zip
- component renders fine on my local server, localhost:8081. (see the attached local-dev.png)
- Error that I get in browser is: Failed to load: @750339/stan-widgets/index at /uxasset/externals/@750339/stan-widgets/index.jsdb, see the attached error.png.
- It looks that the dist folder does not contain any JS files, see the attached dist.png.
Regards,
Stan
Labels:
- Labels:
-
Now Experience UI Framework
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2022 01:56 AM
Hi Stan,
Did you ever solve this? We have the same exact problem.
Kind Regards,
Luc
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2022 04:38 AM
Hi Luc,
I had no luck fixing it.
Regards,
Stan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2022 06:51 AM
Hello I am having the same issue.
Did anybody manage to solve this error ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2022 12:42 AM
Hello,
For us the problem was that there was a number in the package name. ServiceNow fixed it in San Diego Patch 4
Kind regards
Luc