lucacasonato / deno-puppeteer

A port of puppeteer running on Deno

Home Page:https://deno.land/x/puppeteer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue installing on windows

casrar opened this issue · comments

commented

Not very familiar with JS let alone Deno, but was having issues when I followed the instructions with the "PUPPETEER_PRODUCT=firefox deno run -A --unstable https://deno.land/x/puppeteer@9.0.2/install.ts" line (I also tried the chrome as well). Added puppeteer to my path, created new env variables, deleted and reinstalled, nothing got it to work. Eventually I installed chrome and ran "run -A --unstable https://deno.land/x/puppeteer@9.0.2/install.ts" instead and was able to get it to work. Unsure if anything I did fixed it or if the documentation just isn't as clear for windows, but imo its worth thinking about at least a little.

commented

I believe there may be an issue with Firefox, as installing chrome and just running the install script without the env setting seems to work. Also POSSIBLY worth noting is that when installing the deno script it hung after it hit 100%, but just hitting Ctrl+V or presumably any combo of keys broke out of that and it was successfully installed.

commented

A friend of mine also on Windows tried to install following the chrome, and install script steps I highlighted but still couldn't get his to work.

commented

Completely my fault, what happens is the download will say it will complete but it isn't fully downloaded. Which led me to actually stopping to download before all files were downloaded/unpacked. Just because it says all files are downloaded does not mean they are. Let sit until it gives you a message that chrome was downloaded.

commented

Discovered it is actual an issue with the install script along with @day-mon , currently forking and editing to show message about installing that removes ambiguity