sorry for the late reply.
The operating system ctrlX CORE is based on is Ubuntu Core. Ubuntu Core is based on snaps and other package managers are not supported (like APT or npm).
If you want to use a npm-package inside of your snap, you have to bring it with your snap (parts) to the ctrlX CORE.
... View more