如何解决 yaourt -S 代码意外中止后的错误,

如何解决 yaourt -S 代码意外中止后的错误,

我安装的时候codeyaourt -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

我该如何修复它?

相关内容