首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >theia的电子不能运行的例子

theia的电子不能运行的例子
EN

Stack Overflow用户
提问于 2018-09-20 15:35:32
回答 1查看 111关注 0票数 0

我正在尝试在theia上运行一个电子示例。获取以下异常。有什么帮助吗?

代码语言:javascript
复制
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.
EN

回答 1

Stack Overflow用户

发布于 2018-09-20 19:59:11

错误消息显示缺少库llibXss。您可以使用以下命令来安装它

sudo apt-get install libxss1

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52419929

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档