电子化theia的示例未运行

时间:2018-09-20 07:35:32

标签: electron theia

我正在尝试以电子为例。获取以下异常。有帮助吗?

ubuntu@ip-10-164-202-79:~/theia$ yarn run rebuild:electron
yarn run v1.9.4
$ theia rebuild:electron
Processing node-pty
Processing vscode-nsfw
Processing find-git-repositories
✔ Rebuild Complete
Done in 4.70s.
ubuntu@ip-10-164-202-79:~/theia$ cd examples/electron/
ubuntu@ip-10-164-202-79:~/theia/examples/electron$ yarn run start
yarn run v1.9.4
$ theia start
/home/ubuntu/theia/node_modules/electron/dist/electron: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
Done in 1.39s.

1 个答案:

答案 0 :(得分:0)

错误消息表明缺少库llibXss。您可以使用

进行安装
  

sudo apt-get install libxss1