linux kali 下安装 微 信

来源:互联网 发布:apache hadoop怎么读 编辑:程序博客网 时间:2024/06/05 07:05

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 appnpm install && npm start
看着简单的几条命令,我是新手,刚装kali,

查了一下,比较麻烦,但是我喜欢xx,,,,。 关于我的blog写了怎么安装npm.

但是又遇到麻烦了,看图

npm ERR! Linux 4.9.0-kali3-amd64npm ERR! argv "/app/node/bin/node" "/usr/local/bin/npm" "start"npm ERR! node v4.8.4npm ERR! npm  v2.15.11npm ERR! code ELIFECYCLEnpm ERR! electronic-wechat@2.0.0 start: `electron src/main.js`npm ERR! Exit status 1npm 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.jsnpm ERR! You can get information on how to open an issue for this project with:npm ERR!     npm bugs electronic-wechatnpm ERR! Or if that isn't available, you can get their info via:npm ERR! npm ERR!     npm owner ls electronic-wechatnpm 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 位,选择适合自己系统的架构)后执行:




 

原创粉丝点击