kooritea / electronic-wechat

:speech_balloon: A better WeChat on macOS and Linux. Built with Electron by Zhongyi Tong.
MIT License
566 stars 70 forks source link

请加入node v10.xx.yy 的支持。 #99

Closed overheat closed 5 years ago

overheat commented 5 years ago

Description

不小心把ubuntu升级到development branch,降不回来了。

Specifications

npm install && npm start

npm WARN npm npm does not support Node.js v10.15.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm ERR! Unexpected end of JSON input while parsing near '...ncies":{"benchmark":"'

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/aaron/.npm/_logs/2019-05-22T02_28_19_772Z-debug.log
kooritea commented 5 years ago

Electronic-wechat并不依赖低版本的nodejs 你这里是你的npm版本太低了

根据他的提示升级你的npm应该就好了

overheat commented 5 years ago

@kooritea 它现在只支持4, 6, 7, 8, 9. 我的版本是10,应该是我的版本太高了吧?可是我现在降不回去。

kooritea commented 5 years ago

@overheat 你应该升级你的npm而不是想办法降级nodejs。。

kooritea commented 5 years ago

推荐安装nvm管理nodejs版本

overheat commented 5 years ago

卸载了ubuntu源自带的npm,重新装了最新版的。好像是解决了,不过又遇到新的问题。我还是先关了这个吧