GithubHelp home page GithubHelp logo

Comments (6)

LukeChannings avatar LukeChannings commented on May 21, 2024 4

Good call @pmc-a,

I thought this was something to do with codesign or quarantine, but it turned out to be simpler than that.

Chromium has various helper apps in Chromium.app/Contents/Frameworks/Chromium\ Framework.framework/Versions/<Current Version>/Helpers, each of which need to be marked executable too.

I'm making a PR. In the meantime, you can fix this with:

chmod 755 ~/Library/Caches/deno/deno_puppeteer/chromium/*/chrome-mac/Chromium.app/Contents/Frameworks/Chromium\ Framework.framework/Versions/*/Helpers/*.app/Contents/MacOS/*

from deno-puppeteer.

jonasgroendahl avatar jonasgroendahl commented on May 21, 2024

i get the same

from deno-puppeteer.

efraim-andrade avatar efraim-andrade commented on May 21, 2024

same here on mac, i try on linux and works normally

from deno-puppeteer.

pmc-a avatar pmc-a commented on May 21, 2024

I was getting the same, but was able to overcome it by specifying the actual path to my Chromium executable path within the puppeteer.launch arguments. Something like this:

const browser = await Puppeteer.launch({
    headless: true,
    executablePath: "/Applications/Chromium.app/Contents/MacOS/Chromium",
});

At a guess, I think this could be because the install cmd actually runs and installs the chromium within the Deno cache and deno-puppeteer is failing to launch it? Not entirely sure.

Hope this helps though!

from deno-puppeteer.

felixsanz avatar felixsanz commented on May 21, 2024

@LukeChannings @lucacasonato

not fixed on linux, just got this on my first usage. what's the fix on linux? permissions seems to not fix it

from deno-puppeteer.

caperaven avatar caperaven commented on May 21, 2024

I am also getting this issue on windows.
Is there a solution for this yet.

from deno-puppeteer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.