gpt4 book ai didi

node.js - Polymer CLI 安装在 gecko 驱动程序处挂起

转载 作者:太空宇宙 更新时间:2023-11-03 22:29:43 25 4
gpt4 key购买 nike

我正在尝试安装polymer-cli,但它卡在这里:

node_modules/polymer-cli/node_modules/wct-local
> node scripts/postinstall.js

----------
selenium-standalone installation starting
----------

---
selenium install:
from: https://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.1.jar
to: /Users/limjiewmeng/.nvm/versions/node/v6.4.0/lib/node_modules/polymer-cli/node_modules/selenium-standalone/.selenium/selenium-server/2.53.1-server.jar
---
chrome install:
from: https://chromedriver.storage.googleapis.com/2.23/chromedriver_mac64.zip
to: /Users/limjiewmeng/.nvm/versions/node/v6.4.0/lib/node_modules/polymer-cli/node_modules/selenium-standalone/.selenium/chromedriver/2.23-x64-chromedriver
---
firefox install:
from: https://github.com/mozilla/geckodriver/releases/download/v0.10.0/geckodriver-v0.10.0-macos.tar.gz
to: /Users/limjiewmeng/.nvm/versions/node/v6.4.0/lib/node_modules/polymer-cli/node_modules/selenium-standalone/.selenium/geckodriver/0.10.0-x64-geckodriver

我该如何解决这个问题?我已经尝试通过 NVM 使用不同的 Node 版本 v4 和 v6。尝试安装旧版本 0.14 与 0.16。两者似乎都有同样的问题。尝试下载 geckodriver ( https://github.com/mozilla/geckodriver/releases/download/v0.10.0/geckodriver-v0.10.0-macos.tar.gz ),在 Chrome 上没有出现问题。怎么了?

最佳答案

我在 Mac 上也遇到了同样的问题。最后这对我有用:

sudo npm cache clean
sudo npm install npm@latest -g
sudo npm install -g polymer-cli

关于node.js - Polymer CLI 安装在 gecko 驱动程序处挂起,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39198174/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com