ibm-functions / shell

An Electron-based development tool for IBM Cloud Functions and Composer.
Apache License 2.0
60 stars 16 forks source link

cannot run fsh on ubuntu 16 env #914

Closed tysonnorris closed 6 years ago

tysonnorris commented 6 years ago

We have installed on ubuntu 16 env using

npm install @ibm-functions/shell

but we can't run any fsh commands due to a missing .so:

asruser@7f2123ebeb05:~/shell$ ./node_modules/\@ibm-functions/shell/bin/fsh --help
/home/asruser/shell/node_modules/@ibm-functions/shell/bin/../dist/IBM Cloud Shell-linux-x64/IBM Cloud Shell: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
csantanapr commented 6 years ago

See if using composer is a better tool for your use case https://github.com/ibm-functions/composer/blob/master/README.md

starpit commented 6 years ago

hi @tysonnorris can you try

sudo apt-get install libxss1

this is a dependence that we inherit from chrome (via electron).

if you want the visualizations, you will need the Shell. otherwise, if you only want to "compile and deploy", then using composer directly is an option.

tysonnorris commented 6 years ago

I don't have root access on this linux system

I think compose will do for now, I saw this other issue #231 related to "true headless" which would I think be appropriate for our

Will close this for now - thanks for the tips!