Comments (4)
You need to set the environment variable export PUPPETEER_PRODUCT=firefox
before running npm install
. This can be done in one line PUPPETEER_PRODUCT=firefox npm install
from flaresolverr.
sorry if I misunderstand smth, that's how I'm running it while getting this error:
$ PUPPETEER_PRODUCT=firefox npm install
audited 70 packages in 3.54s
3 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
$ node index.js
2020-06-22T08:44:24.644Z INFO REQ-0 FlareSolverr v1.0.0 listening on http://0.0.0.0:8191
2020-06-22T08:45:07.250Z INFO REQ-1 Incoming request: POST /v1
2020-06-22T08:45:07.256Z INFO REQ-1 Params: {"method":"GET","url":"https://www.bteye.org/q/test","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0","maxTimeout":60000}
2020-06-22T08:45:07.309Z ERROR REQ-1 Could not find browser revision latest. Run "npm install" or "yarn install" to download a browser binary.
Also iirc it was downloading Chromium on first run/install while readme says Firefox.
from flaresolverr.
Humm, try to remove the node_modules
folder. When I install the first time I can see this:
$ PUPPETEER_PRODUCT=firefox npm install
> [email protected] install /home/vvv/workspace/FlareSolverr/node_modules/puppeteer
> node install.js
Requesting latest Firefox Nightly version from https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central
Downloading Firefox Nightly r79.0a1 - 75.8 Mb [====================] 100% 0.0s
from flaresolverr.
Now it is Firefox too and error is gone, I probably messed up somewhere when installing
from flaresolverr.
Related Issues (20)
- File Download: 405 Method not allowed HOT 1
- [yggtorrent] (testing) Exception (yggtorrent): The cookies provided by FlareSolverr are not valid: The cookies provided by FlareSolverr are not valid HOT 5
- [chdbits] (updating) FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 55.0 seconds. HOT 1
- [yggtorrent] (updating) Exception: System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 60 seconds elapsing. ---> System.TimeoutException: A task was canceled. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled
- Problem with utils.get_flaresolverr_version() & package.json HOT 3
- CAN NOT FOUND THE 'Verify you are human' button HOT 1
- Error solving the challenge HOT 3
- Windows Defender detects flaresolverr.exe as Trojan:Win32/Bearfoos.Alml HOT 1
- ERROR starting chrome: cannot connect to chrome HOT 1
- [NixOS x64] -bash: ./flaresolverr/flaresolverr: cannot execute: required file not found HOT 3
- Chrome.exe (v124) processes keep running on background HOT 7
- Status code always 200 // Response headers always empty HOT 1
- Kaspersky blocking files supposedly downloaded by internal Chrome (used by Jackett) HOT 1
- Testing with the latest version 3.3.17, it was unable to bypass, it kept looping indefinitely for verification of robots. HOT 1
- [yggtorrent] (updating) FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 55.0 seconds. HOT 26
- Lots of tracebacks on launch in Docker on Ubuntu 24.04 LTS HOT 1
- Loop on 'Verify your are human'
- [Flaresolverr Bug] Flaresolverr is unable to find checkbox on page, on multiple sites: yggtorrent,hd-torrent,etc. HOT 2
- [yggtorrent] (updating) FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 60.0 seconds. HOT 1
- Error solving the challenge HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flaresolverr.