Skip to content

PHANTOMJS2_DOWNLOAD_URL won't install on Windows #12

@cherrydev

Description

@cherrydev

When setting the variable to an official release package such as https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.0.0-windows.zip, it fails to install.

Download already available at C:\Users\acherry\AppData\Local\Temp\phantomjs\phantomjs-2.0.0-windows.zip
Extracting zip contents
Removing C:\Users\acherry\devpath\node_modules\karma-phantomjs2-launcher\node_modules\phantomjs2-ext\lib\phantom
Could not find extracted file [ 'phantomjs-2.0.0-windows' ]
Phantom installation failed [Error: Could not find extracted file] Error: Could not find extracted file
    at Promise._successFn (C:\Users\acherry\devpath\node_modules\karma-phantomjs2-launcher\node_modules\phantomjs2-ext\install.js:348:11)
    at nextTickCallback (C:\Users\acherry\devpath\node_modules\karma-phantomjs2-launcher\node_modules\phantomjs2-ext\node_modules\kew\kew.js:47:28)
    at process._tickCallback (node.js:355:11)
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "karma-phantomjs2-launcher" "--savDev"
npm ERR! node v0.12.2
npm ERR! npm  v2.7.4
npm ERR! code ELIFECYCLE

npm ERR! phantomjs2-ext@0.1.0 install: `node install.js`
npm ERR! Exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions