-
Notifications
You must be signed in to change notification settings - Fork 434
PhantomJS not found on PATH #722
Comments
I also met |
I have same issues |
same issue |
How is this even a problem? Does anyone know why Chrome for instance is flagging the url? It's basically just a redirect to Amazon S3, so is the problem S3? Is it flagged because someone uses Github to distribute malware, and then as a consequence other assets from different projects is also flagged? It's really annoying because it have broken our CI build :D |
Please let me know if you have a solution for this issue as it breaks our CI build as well :\ |
We found the quick fix for the issue by overriding the PHANTOMJS_CDNURL env variable and setting it to our own URL. You can also use any URL here. |
C:\Users\jkahl1\Source\Repos\digital-advisor-fe>npm install
PhantomJS not found on PATH Error making request. Please report this full log at https://github.com/Medium/phantomjs npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: |
Adding PhantomJS to PATH manually solved this problem: |
I'm having exactly the same issue, any luck solving it? |
My solution is to manually download the zip and place it in the location the script expects. |
But the issue is really strange, because everything used to work fine, and suddenly the install.js script says phantomjs can't be found in the path, but phantomjs is there:
|
PhantomJS not found on PATH reinstall globally. |
For Linux, just ran this script and it worked.
|
now, granted, i also did @dhruvdutt 's global install of phantomjs, but that didn't fix it. |
RUN PHANTOMJS_CDNURL=https://npm.taobao.org/mirrors/phantomjs/ npm install phantomjs-prebuilt |
For me helps to install |
Hi every i too got the same the crazy thing is my office network is blocking my connection to that repository... ;- ) |
Hi everyone,
We had projects building on a Jenkins Slave server, and using phantomJS
Until last week, everythink worked fine
_> [email protected] install /home/jenkins_slave/workspace/Editorial_Gulp/EditorialIhm/src/main/webapp/node_modules/phantomjs-prebuilt
Considering PhantomJS found at /lun/app1/tools/node-v6.4.0-linux-x64/bin/phantomjs_
But since this week, when we launch the exact same build, we have this
_> [email protected] install /home/jenkins_slave/workspace/Editorial_Gulp/EditorialIhm/src/main/webapp/node_modules/phantomjs-prebuilt
PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2_
(then the download fails because the server cannot access github for security reasons)
The problem is that phantomJS is in the server, and its location is declared in the variable $PATH of the user launching the build.
I am unaware of any change that may have occur on the platform, so I do not know where to begin to search.
Any help or advice would be great :)
Thanks in advance.
The text was updated successfully, but these errors were encountered: