linux kali 下安裝 微 信

Gunther17發表於2017-08-24

https://github.com/geeeeeeeeek/electronic-wechat

1.1

#Clone this repository//下載檔案

git clone https://github.com/geeeeeeeeek/electronic-wechat.git
# Go into the repository//終端進入該檔案下
cd electronic-wechat
# Install dependencies and run the app
npm install && npm start
看著簡單的幾條命令,我是新手,剛裝kali,

查了一下,比較麻煩,但是我喜歡xx,,,,。 關於我的blog寫了怎麼安裝npm.

但是又遇到麻煩了,看圖

npm ERR! Linux 4.9.0-kali3-amd64
npm ERR! argv "/app/node/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v4.8.4
npm ERR! npm  v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! electronic-wechat@2.0.0 start: `electron src/main.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the electronic-wechat@2.0.0 start script 'electron src/main.js'.
npm ERR! This is most likely a problem with the electronic-wechat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     electron src/main.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs electronic-wechat
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls electronic-wechat
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /app/electronic-wechat/npm-debug.log
        goole一下,找到的答案是用cnpm.     唉                                繞來繞去,
npm install -g cnpm --registry=https://registry.npm.taobao.org

接著你要是執行cnmp無效,因為你沒有新增路徑

~# ln -s /app/node/bin/cnpm          /usr/local/bin/cnpm
前面是路徑,後面是/usr/local/bin/變數名


這下就ok?又有問題


   Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
我靠這回爽了,把那個位置的electron資料夾 刪了其他不變,重新輸入命令

~# ln -s /app/node/bin/cnpm          /usr/local/bin/cnpm
         

        最後上我最愛的

     


2.直接裝一個應用程式132M 。  

https://github.com/geeeeeeeeek/electronic-wechat

要在 Linux 下安裝 Electronic WeChat,我是下載 linux-x64.tar.gz(64 位,選擇適合自己系統的架構)後執行:




 

相關文章