Skip to content

PhantomJS not found on PATH #11

@Duobe

Description

@Duobe

questions: 无法安装karma-phantomjs-launcher

image

solution:网络问题,借助淘宝镜像

命令行输入下面语句:

PHANTOMJS_CDNURL=https://npm.taobao.org/mirrors/phantomjs/ npm install phantomjs-prebuilt

事实上直接输入就可以了:

npm install phantomjs-prebuilt

PS:phantomjs 已改名为 phantomjs-prebuilt

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions