dongweiming / wechat-admin

Wechat Management System
https://dongweiming.github.io/wechat-admin/
GNU General Public License v3.0
1.75k stars 421 forks source link

npm run build 成功,启动服务,访问web是空白 #28

Closed Smurfs-xxl closed 7 years ago

Smurfs-xxl commented 7 years ago

修改了webpack.prod.conf.js 的API_URL为服务器外网ip。 进行npm run build 成功,启动服务,访问web是空白。 发现static目录里只有 emoji和img两个目录,请问是什么问题?

Smurfs-xxl commented 7 years ago

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='login.weixin.qq.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)'),))

You can't get access to internet or wechat domain, so exit.

是不是微信那边限制了接口?

dongweiming commented 7 years ago

如果static目录里只有 emoji和img两个目录,肯定是你build没有成功,你可以把整个过程截下来让我看看

连接微信的错误你要自己解决,我的是正常的

Smurfs-xxl commented 7 years ago

image

dongweiming commented 7 years ago

你用的虚拟机吧.... buildJ进程占用内存过多被杀死了的感觉

Smurfs-xxl commented 7 years ago

阿里云服务器。那我该怎么办?

Smurfs-xxl commented 7 years ago

是内存问题,解决了。谢谢解答。