安裝phantomjs報錯解決
前言
最近有個專案要搞下jenkins自構建,微服務中註冊中心用了jhipster registry,需要編譯前端程式碼。
yarn執行過程中, PhantomJS解壓安裝報錯。
找度娘問了下,提供包的很少,要麼速度賊慢;要麼藏著掖著,要積分;要麼方法不行,吐槽下o(╯□╰)o。
後來重新看了下包,其實是解壓方式有問題,這個bz2字尾其實是假的,總結了下方法。
1. 下載包
https://npm.taobao.org/mirrors/phantomjs 這個下面針對不同版本和作業系統包很多,自己找需要的。
wget https://npm.taobao.org/mirrors/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
2. 解壓包
tar -xvf phantomjs-2.1.1-linux-x86_64.tar.bz2
3. 軟連結一下
ln -s /usr/local/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/
phantomjs -v
\(^o^)/~ 了 !!!
相關推薦
安裝phantomjs報錯解決
前言 最近有個專案要搞下jenkins自構建,微服務中註冊中心用了jhipster registry,需要編譯前端程式碼。 yarn執行過程中, PhantomJS解壓安裝報錯。 找度娘問了下,提供包的很少,要麼速度賊慢;要麼藏著掖著,要積分;要麼方法不行,
ReactNative環境搭建擴展篇——安裝後報錯解決方案
每次 搖一搖 ack pst img 工程 項目 python2 -1 之前一篇寫了《邏輯性最強的React Native環境搭建與調試》說了RN的安裝,今天在這裏做一個復盤,讓我們能夠更直觀更深入的了解React Native(以下簡稱RN),這一篇重點來說的就是,安裝之
安裝mysql報錯解決方法
mysql報錯1:Installing MySQL system tables..../bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or
使用Django框架連線資料庫 及pip install mysqlclient命令安裝mysqlclient 報錯解決
1、新建一個mysite專案:django-admin startproject mysite 2、進入專案目錄,新建一個app : python manage.py startapp polls 3、安裝mysqlclient :pip install mysql
macOS High Sierra python pip 安裝許可權報錯解決
問題背景 需要使用Python的 matplotlib模組,於是使用 pip install matplotlib進行安裝,安裝時報錯:OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packa
Linux 上安裝 mysqlclient,報錯解決方案
執行 client imp inf 圖片 pip 解答 str png 在 Linux 下安裝 mysqlclient,如果是選擇直接安裝的話,一般會報如下錯誤, 解答方案, 一般來說安裝一個依賴即可 sudo apt install libmysqlclie
Centos 7 docker 安裝 以及報錯解決。
Docker 要求 CentOS 系統的核心版本高於 3.10。鑑於centos6.x的版本核心達到3.10。所以採用centos 7 進行安裝。 1、檢視你當前的核心版本 uname -r 2、確保 yum 包更新到最新 yum update 3、從d
CentOS7安裝MySQL報錯,解決Failed to start mysqld.service: Unit not found CentOS7安裝MySQL,解決Failed to start mysqld.service: Unit not found
當輸入命令 ~]# systemctl start mysql.service 要啟動MySQL資料庫是卻是這樣的提示 Failed to start mysqld.service: Unit not found 解決方法如下: 首先需要安裝mariadb-serv
【整理】【轉載】python3一些問題:如安裝Python3報錯解決,使用IDLE等
安裝Python3可能出現的報錯和解決 如果勾選全部,很可能會安裝失敗,所以有一個別勾選 錯誤碼:0x80072efd 百度之:轉這個經驗,實測有一點不同 https://blog.csdn.net/u014259503/article/details/828408
mac下python安裝scrapy報錯解決方案
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse(‘incremental>=16.10.1’) Command “python setup.p
selenium+phantomjs 報錯解決,不支援phantomjs的解決
執行如下程式 c:\Python37\python.exe d:/Py/crawler/Phantomjs.py 報錯: c:\Python37\lib\site-packages\selenium\webdriver\phantomjs\webdriver.py:4
openoffice 安裝與報錯解決
wget http://heanet.dl.sourceforge.net/project/openofficeorg.mirror/4.0.0/binaries/zh-CN/Apache_OpenOffice_4.0.0_Linux_x86-64_ins
jenkins首次安裝,報錯解決方案
JDK jenkins最新版的安裝,要求JDK必須是1.8及以上。如圖: 離線: 並且在控制檯出現出現如下錯誤: 5-Jul-2018 14:35:55.303 警告 [Finalizing set up] hudson.model.Update
python pip安裝MySQLdb報錯解決方法
一 進入網站 下載MySQL-python相關軟體。 二 下載後解壓,有兩個安裝包 MySQL-python-1.2.3.win32-py2.7.exe MySQL-python-1.2.3
Ubuntu16.04python3.6下安裝Scrapy報錯解決辦法
首先安裝scrapy是沒問題的,但是當匯入模組時就報錯了,具體如下: root@ubuntu:/usr/bin# pip3 install scrapy Collecting scrapy Downloading https://files.py
CentOS7.2下cMark編譯安裝mysql報錯解決方案
環境 1.CentOS7.2 2.使用者:root 3.CMake 2.8.10.2 問題說明 今天在centos7.2下面原始碼編譯安裝mysql的時,在編譯mysql的時候報了一個錯誤
使用Homebrew安裝軟體報錯解決方法
報錯資訊如下: Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installat
Python2.7 安裝numpy報錯解決方法
Windows 10下用pip安裝numpy包報錯: Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat
關於編譯安裝apache報錯解決方法
#./configure --prefix……檢查編輯環境時出現: checking for APR... no configure: error: APR not found . Please read the documentation 解決辦法: 1.下載所需
centos安裝gstreamer報錯解決方案
1、安裝openfst一直失敗,這個問題主要是經驗不足造成的,由於之前失敗過,後邊儘管按照提示一步一步解決依然make失敗,主要是中間結果造成的,這裡可以嘗試make clean,再make。這個方法適用於其他情況,大家在遇到編譯錯誤時,可以嘗試。2、安裝gstreamer一