1. 程式人生 > >Atom 外掛安裝報錯gyp ERR!

Atom 外掛安裝報錯gyp ERR!

Atom編輯器安裝 Emmet外掛的時候遇到報錯:

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.6.15/iojs-v1.6.15.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! install error 
gyp ERR! stack Error: connect ETIMEDOUT 52.216.0.8: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.4.0-112-generic
gyp ERR! command "/opt/atom/resources/app/apm/bin/node" "/opt/atom/resources/app/apm/node_modules/node-gyp/bin/node-gyp.js" "install" "--runtime=electron" "--target=1.6.15" "--dist-url=https://atom.io/download/electron" "--arch=x64" "--ensure"
gyp ERR! cwd /home/lushg/.atom
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok 

自動安裝失敗,就學習了一下手動安裝。

atom的外掛都是安裝在~/.atom/packages裡,進入該目錄,git clone 原始碼然後 cnpm install即可,重啟生效。

cd ~/.atom/packages

git clone https://github.com/emmetio/emmet-atom

cd emmet-atom

cnpm install


相關推薦

Atom 外掛安裝gyp ERR!

Atom編輯器安裝 Emmet外掛的時候遇到報錯:gyp info it worked if it ends with ok gyp info using [email protected] gyp info using [email protected]

Markdown Editing外掛安裝

報錯問題:Error loading syntax file "Packages/Markdown/Markdown.sublime-syntax": Unable to read Packages/Markdown/Markdown.sublime-syntax解決方法:根

npm安裝npm ERR! Refusing to install package with name "xxxx" under a packagexxxx

錯誤資訊 npm ERR! code ENOSELF npm ERR! Refusing to install package with name "webpack" under a packag

npm安裝npm ERR! Refusing to install package with name "xxxx" under a packagexxxx

  npm ERR! code ENOSELF npm ERR! Refusing to install package with name "webpack" under a package npm ERR! also called "webpack". Did you name your pr

cnmp安裝失敗,npm ERR! enoent ENOENT: no such file or directory,

lar 答案 .cn usr password rect tor bre -c 1.cnmp安裝失敗 2.提示如下: bogon:node_modules liangjingming$ sudo npm install cnpm -g --registry=https://

遇到eclipse安裝外掛一直問題(版本問題)

剛好用了一個外掛,然後線上安裝報錯了,一直報錯,之前用的這個外掛是直接解壓貼的,現在線上安裝出錯,就很尬,我又有點懶,不想再去下載,貼,所以查了下,有網友說是eclipse的外掛版本問題,更新了下,成功了,我估摸著一些外掛也可能有一樣的問題,然後我就記錄下 吧。 線上安

Eclipse安裝spring外掛解決

在所有操作之前可以先看一下自己的Eclipse->Window->Preference->Install/Update下根據紅色框標識改為Disable。不然可能會如下錯誤導致安裝失敗。An error occurred while collecting i

關於ubuntu安裝問題解決

nbsp http png 題解 logs engines 報錯 col ubuntu安裝 命令行中報錯 首先報錯內容為:(vmware-installer.py:3847): Gtk-WARNING **: 無法在模塊路徑中找到主題引擎:“murr

DirectX 安裝: 不能信任一個安裝所需的壓縮文件,請檢查加密服務是否啟用並且cabinet文件證書是否有效

建議 長時間 頁面 檢查 ould get 浪費 images 跳轉 DirectX 安裝報錯 不能信任一個安裝所需的壓縮文件,請檢查加密服務是否啟用並且cabinet文件證書是否有效 是直播軟件open broadcaster software,這個軟件安裝的時候提示“y

ruby鏡像,compass安裝

rubygems spa sas 保留 add 工作 ecs date 12px 在這幾天在電腦上安裝compass一直報錯,很無語。因為安裝的ruby和sass都沒有問題,雖然是很久之前安裝的。 sass # 更新sass gem update sass # 檢

cacti-spine安裝解決

cacti如果報以下錯誤checkingwhether we are using Linux Capabilities... noconfigure:error: Cannot find MySQL headers. Use--with-mysql= to specify non-default path.

redis安裝

原因 list -c nbsp 知識 解決方案 tin lac http 錯誤原因大概是這個: creating server tcp listening socket 127.0.0.1:6379: bind No error 解決方案如下按順序輸入如下命令就可以連接成

Mysql安裝解決辦法

base edi 註意 eve program 搜索 重新啟動 5.1 edit .msi版MySQL安裝包在安裝最後執行的時候到第三部或者第四部死掉 主要是因為之前安裝的版本沒有卸載幹凈,要卸載幹凈MySQ安裝包有一些幾個步驟: 1.通過卸載程序MySQL的相關組件 2。

yum安裝

yum報錯如下:YumRepo Error: All mirror URLs are not using ftp, http[s] or file.Eg. Invalid release/removing mirrorlist with no valid mirrors: /var/cache/yum/ext

oracle安裝:orcl:orcl

oracle原因是沒有配置hosts文件[[email protected] ~]# vim /etc/hosts 192.168.1.10 orcl本文出自 “運維筆記” 博客,請務必保留此出處http://quliren.blog.51cto.com/9849266/1973648orac

npm install的時候 npm err code 1

pro code run 命令 nbsp webpack vue 問題 web 在學習vue的時候,npm install的時候報錯 npm err code 1,當時很郁悶,是‘vue init webpack my-project’命令新建的模版項目 ,怎麽會報錯,第

VirtualBox 在WIN7 X64 安裝 獲取VirtualBox COM對象失敗,Unable to start the virtual device

device class mode gis col model gist try .cn Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\CLSID\{00020420-0000-0000-C000-000

ORACLE安裝 無法打開圖像化界面

grid報錯信息:[grid@rhel65 grid]$ ./runInstaller Starting Oracle Universal Installer...Checking Temp space: must be greater than 120 MB. Actual 34027 MB Pa

nginx安裝:configure: error: the HTTP rewrite module requires the PCRE library

error: config pcr nginx 參考 body post iam sta 參考:http://blog.51cto.com/williamx/958398 需要安裝pcre-devel與openssl-devel yum -y install pcre-de

cacti安裝

configure 新解 name -s -i 查看 pin help -name 安裝cacti-spine時./configure是正常的,執行make時報錯“” // No help2man // --output=spine.1 --name=‘Data Colle