我正在尝试以电子为例。获取以下异常。有帮助吗?
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.
答案 0 :(得分:0)
错误消息表明缺少库llibXss。您可以使用
进行安装sudo apt-get install libxss1