Atom IDE 终端在 Ubuntu 20.04 中显示空白

Atom IDE 终端在 Ubuntu 20.04 中显示空白

Atom 中的终端包是空白的,并且光标闪烁。无法输入命令。

使用此命令安装终端包 - 在终端中返回成功

apm install platformio-ide-terminal

在网上搜索过,似乎找不到很多与 Linux/Ubuntu 上的 Atom IDE 相关的解决方案

已经尝试以超级用户身份执行此操作,但是由于 atom 缺少模块而返回错误。


jekyllz@Jeky:~$ sudo apm install platformio-ide-terminal
[sudo] password for jekyllz: 
Installing platformio-ide-terminal to /root/.atom/packages ^[x✗

> [email protected] install /tmp/apm-install-dir-2020830-13934-1f3f7tb.uc5s/node_modules/platformio-ide-terminal/node_modules/node-pty-prebuilt-multiarch
> prebuild-install || node scripts/install.js


sh: 1: prebuild-install: Permission denied
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/tmp/apm-install-dir-2020830-13934-1f3f7tb.uc5s/node_modules/platformio-ide-terminal/node_modules/node-pty-prebuilt-multiarch/scripts/install.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-2020830-13934-1f3f7tb.uc5s/package.json'
npm WARN apm-install-dir-2020830-13934-1f3f7tb.uc5s No description
npm WARN apm-install-dir-2020830-13934-1f3f7tb.uc5s No repository field.
npm WARN apm-install-dir-2020830-13934-1f3f7tb.uc5s No README data
npm WARN apm-install-dir-2020830-13934-1f3f7tb.uc5s No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `prebuild-install || node scripts/install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.atom/.apm/_logs/2020-09-30T09_37_26_282Z-debug.log

非常感谢您的阅读/帮助!

相关内容