snc ui-component deploy - sys_ux_lib_source_script empty

romuduck
Tera Contributor

Hello all,

 

I started playing with snc ui-component.

I created a simple hello-world application which works fine locally via snc ui-component develop.

Then i have no errors raised when deploying it via snc ui-component deploy --force.

I can even see my custom component in UI builder but nothing is being displayed.

Looking at the various sys tables being updated at deployment time, I realized that my component's source code in sys_ux_lib_source_script is empty.

 

Seeking your help to understand what could be wrong.

Also, could you share what npx command to run so I could maybe copy/paste the output in relevant table in the meantime?

 

Thanks a lot

 

 

My configuration:

  • node v12.16.1
  • npm 6.13.4
  • snc 1.1.0
  • ui-component 22.0.0

 

 

1 REPLY 1

romuduck
Tera Contributor

Solved my issue.
Pb was related to level of permissions.

The account i was using only had Editor role in the scoped application. It doesnt seem to be enough.