shadowsocks-free-account icon indicating copy to clipboard operation
shadowsocks-free-account copied to clipboard

vps上运行失败?

Open o0HalfLife0o opened this issue 6 years ago • 0 comments

[root shadowsocks-free-account-master]# npm i

> [email protected] install /root/work/github-sh/tool/shadowsocks-free-account-master/node_modules/puppeteer
> node install.js

Downloading Chromium r515411 - 95.4 Mb [====================] 100% 0.0s
Chromium downloaded to /root/work/github-sh/tool/shadowsocks-free-account-master/node_modules/puppeteer/.local-chromium/linux-515411
npm WARN [email protected] No repository field.

added 90 packages from 63 contributors in 13.574s
[+] no known vulnerabilities found [171 packages audited]

[root shadowsocks-free-account-master]# node app.js
(node:15601) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Failed to launch chrome!
/root/work/github-sh/tool/shadowsocks-free-account-master/node_modules/puppeteer/.local-chromium/linux-515411/chrome-linux/chrome: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory


TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

(node:15601) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[root shadowsocks-free-account-master]# node -v
v8.9.4

o0HalfLife0o avatar Jun 30 '18 15:06 o0HalfLife0o