-1
我嘗試Ubuntu上安裝自動更新包的Atom,但是當我用這是第一個步驟的命令的Atom無法安裝[email protected]
apm install auto-update-packages
在this頁面中它返回了這個錯誤。
npm ERR! Linux 3.16.0-30-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/liam/.atom/.apm/.apmrc" "--userconfig" "/home/liam/.atom/.apmrc" "install" "/tmp/d-115528-3402-1fgbwlx/package.tgz" "--target=0.22.0" "--arch=x64"
npm ERR! node v0.10.35
npm ERR! npm v2.5.1
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: linux
npm ERR! notsup Actual Arch: x64
npm ERR! Please include the following file with any support request:
npm ERR! /tmp/apm-install-dir-115528-3402-197s6zu/npm-debug.log
沒有的/ tmp/APM安裝目錄,115528-3402-197s6zu /目錄,因此沒有文件顯示,雖然我認爲這純粹是輸出的內容。
謝謝,很高興知道! –