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

安装失败,执行无响应,真的不能用!! #29

Open
jinjiaxing opened this issue Aug 14, 2018 · 7 comments
Open

安装失败,执行无响应,真的不能用!! #29

jinjiaxing opened this issue Aug 14, 2018 · 7 comments

Comments

@jinjiaxing
Copy link

通过 npm install hiper -g 报错:
ERROR: Failed to download Chromium r579032! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.

@jinjiaxing
Copy link
Author

之后在issues找到方案:sudo npm install hiper -g --save hiper --ignore-scripts
虽然安装成功,但是执行 hiper baidu.com 无任何反应·~~~~~~~
node:8.11.3
npm:6.3.0

@pod4g
Copy link
Owner

pod4g commented Aug 14, 2018

试试是不是网络的问题。。

换一个网络。

执行:

npm install hiper -g

@aixinalei
Copy link

cnpm install puppeteer

@jinjiaxing
Copy link
Author

跟网络没有关系
默认就是用的淘宝的npm镜像

@wfk007
Copy link

wfk007 commented Mar 30, 2019

我也遇到你这个问题,解决方法是:使用国内 Chromium 源,然后把之前安装的 hiper 删掉,重新安装,希望对你有帮助。

npm config set puppeteer_download_host=https://npm.taobao.org/mirrors
npm uninstall hiper -g && npm install hiper -g
hiper baidu.com

@VirgoHxy
Copy link

没有响应+1 0.0.16版本

@zgjx6
Copy link

zgjx6 commented Oct 4, 2020

按照上面的安装好了之后依然没反应,可以尝试一下我的办法。
执行 npm root -g 找到npm包的安装路径
然后在 hiper/src/performance/index.js 第54行,修改为 tab.goto(url, { timeout: 172800000, waitUntil: 'load' }).catch(e => void 0)即可。
如果实在不行,cd到 hiper/src 目录,执行 node index.js baidu,com 可以看到报错信息,再想办法。

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

6 participants