您的位置:首页 > Web前端 > Node.js

vue-cli 手脚架搭建 vue 环境报错 chromedriver@2.24.1 install: `node install.js` Exit status 1

2016-09-28 22:46 926 查看
   最近在学习 vue 这个框架,使用官方推荐的手脚架搭建环境时一直报错,错误信息如下:

    chromedriver@2.24.1 install: `node install.js`

    Exit status 1

    Failed at the chromedriver@2.24.1 install script 'node install.js'.

    Make sure you have the latest version of node.js and npm installed.

    If you do, this is most likely a problem with the chromedriver package,

     not with npm itself.

    Tell the author that this fails on your system:

     node install.js

    You can get information on how to open an issue for this project with:

     npm bugs chromedriver

    Or if that isn't available, you can get their info via:

     npm owner ls chromedriver

    There is likely additional logging output above.

    Please include the following file with any support request:

     G:\study\vueTest\npm-debug.log

    我是个彻头彻尾的英语渣,所以是用有道翻译了一下,这里是建议我更新 node 和 npm 到最新版,不过见交流群貌似有小伙伴照着做更新了却依旧不好使。我也百度了半天没找到解决方案。后来想想,既然说是装不上这个插件,那装上不就完了么?开始我百度这个的64位安装包,在某个类似官网(百度标着官网)的全英文网站下了一个安装包,然后兴奋的运行,然后它以作死闪屏回报了我。还关不掉,没法只能重启了。

   后来对着cmd窗口呆了一会,看着那几行错误信息:安装失败。。安装失。。。安装。。 install?!!

   然后我就抱着一线希望在命令行敲上了 npm install
chromedriver -g (全局安装只是个人习惯,强迫症,不管好不好使,反正我这么做了)。然后读了一会条,然后啥事没有了。啥事没有了。。。。没有了。。。卧槽居然没报错!!然后我进入项目目录安装,也好使了。然后顺利的 npm run dev 也好使了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  vue