![如何解决 yaourt -S 代码意外中止后的错误,](https://linux22.com/image/129334/%E5%A6%82%E4%BD%95%E8%A7%A3%E5%86%B3%20yaourt%20-S%20%E4%BB%A3%E7%A0%81%E6%84%8F%E5%A4%96%E4%B8%AD%E6%AD%A2%E5%90%8E%E7%9A%84%E9%94%99%E8%AF%AF%EF%BC%8C.png)
我安装的时候code
与yaourt -S code
,类似的内容ctrl d
是不小心输入的。然后我尝试yaourt -S code
再次安装:
gyp: Call to 'pkg-config --libs-only-l libsecret-1' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack at ChildProcess.emit (events.js:180:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.14.21-1-MANJARO
gyp ERR! command \"/usr/bin/node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
gyp ERR! cwd /tmp/yaourt-tmp-czxyl/aur-code/src/vscode/node_modules/keytar
gyp ERR! node -v v9.8.0
[proxychains] DLL init: proxychains-ng 4.12
[proxychains] DLL init: proxychains-ng 4.12
==> ERROR: A failure occurred in build().
[proxychains] DLL init: proxychains-ng 4.12
Aborting...
[proxychains] DLL init: proxychains-ng 4.12
[proxychains] DLL init: proxychains-ng 4.12
==> ERROR: Makepkg was unable to build code.
[proxychains] DLL init: proxychains-ng 4.12
[proxychains] DLL init: proxychains-ng 4.12
==> Restart building code ? [y/N]
==> -----------------------------
==> n
我该如何修复它?