Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

跑不起来啊 #27

Closed
1966767119 opened this issue Nov 18, 2017 · 3 comments
Closed

跑不起来啊 #27

1966767119 opened this issue Nov 18, 2017 · 3 comments

Comments

@1966767119
Copy link

不晓得是网的问题还是依赖问题,总之没跑起来,install没问题,run的时候各种报错,楼主还是看看的好

@OrangeXC
Copy link
Owner

首先感谢反馈,

其次提 issue 的时候

要先说明开发环境(操作系统和node版本)

然后把你的报错信息截图贴出来

这样有利于排查问题,这项目推上来有几个月了,你是第一个提跑不起来

另外线上地址:https://n2ex.herokuapp.com/

跑的就是这个项目,部署服务器也没有任何问题。

@1966767119
Copy link
Author

sorry,我昨天是直接下载的zip,yarn或者npm install都搞不定,但今晚我clone下来然后npm install,竟然就好了。也可能与墙有关。还是很欣赏这个项目的,我是写后台的开发,以后可以交个朋友

@OrangeXC
Copy link
Owner

@1966767119

我看到了你前面发的报错截图,说下你遇到的问题。

在你 npm install 的时候 puppeteer 这个包安装失败了,首先这个项目里面不依赖 puppeteer,所以排除了项目的锅。

至于为什么会顺带给你安装这个库还要看你本地的配置

再讲下 puppeteer 是个无头浏览器,可以在 node.js 后端操作网站,包括截屏、模拟浏览器事件、操作 DOM 等。

项目地址:https://github.com/GoogleChrome/puppeteer

这个项目最近安装确实不太顺利,在下载时会出现频繁的失败,我也遇到类似问题,可能与VPN有关
,还可能与代码本身有关(我是改了puppeteer源码后再安装的)。

下次可以加微信找我:https://orangexc.xyz/about/

链接里有二维码

@OrangeXC OrangeXC closed this as completed Dec 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants