Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Provision to fetch phantomjs from disk #818

Open
KarunaLakshman opened this issue Nov 22, 2018 · 0 comments
Open

Provision to fetch phantomjs from disk #818

KarunaLakshman opened this issue Nov 22, 2018 · 0 comments

Comments

@KarunaLakshman
Copy link

In my workspace, I don't have access to default phantomjs_cdnurl and for some reason I'm not able to create my own download location.

I understood that, phantom installer is trying to find phantomjs in temp path, before it starts downloading from CDN url. Is it a good idea to drop phantomjs-2.1.1-windows.zip in a directory located in the project root and set tmp=path/to/phantom in .npmrc (belongs to the project) file?

Is it possible to introduce a provision to download phantomjs from local disk?
Something like this --phantomjs-path | npm_config_phantomjs_path | process.env.PHANTOMJS_PATH.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant