Custom component fails to deploy

2_71828
Tera Contributor

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

4 REPLIES 4

Luc Raeskin
Tera Contributor

Hi Stan,

 

Did you ever solve this? We have the same exact problem.

 

Kind Regards,

Luc

Hi Luc,

I had no luck fixing it. 

Regards,

Stan

Bartosz Makowsk
Giga Contributor

Hello I am having the same issue.

Did anybody manage to solve this error ?

Luc Raeskin
Tera Contributor
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