从官网下载的包安装的,具体版本信息
Atom : 1.18.0
Electron: 1.3.15
Chrome : 52.0.2743.82
Node : 6.5.0
系统是x86_64 Linux 4.11.4-100.fc24.x86_64,gnome环境
无法安装包,错误信息
>apm install --check
Checking for native build tools ✗
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp http GET https://atom.io/download/electron/v1.3.15/iojs-v1.3.15.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: connect ETIMEDOUT 52.216.80.16:443
gyp ERR! stack at Object.exports._errnoException (util.js:1022:11)
gyp ERR! stack at exports._exceptionWithHostPort (util.js:1045:20)
gyp ERR! stack at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
gyp ERR! System Linux 4.11.4-100.fc24.x86_64
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/node-gyp/bin/node-gyp.js" "install" "--runtime=electron" "--target=1.3.15" "--dist-url=https://atom.io/download/electron" "--arch=x64" "--ensure"
gyp ERR! cwd /home/ljhui/.atom
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
每次检查包更新现实undefined.
原本我安装的是FZUG仓库的atom,版本好像是1.14,那个更不行,都无法查看我已经安装的包,
提示错误:
/usr/lib/node_modules/atom-package-manager/lib/fs.js:42
module.exports = new Proxy({}, {
^
ReferenceError: Proxy is not defined
at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/lib/fs.js:42:24)
at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/lib/fs.js:51:4)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/lib/apm.js:6:8)
at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/lib/apm.js:164:4)
请问如何解决?