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

Provision to fetch phantomjs from disk #818

Description

@KarunaLakshman

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions