alpine-chrome
alpine-chrome copied to clipboard
Get a deno example using Chrome
Context
It could be fun to get a deno example using Chrome using the with-deno
tag.
See the with-deno
folder
Related to https://github.com/Zenika/alpine-chrome/pull/89
Would be glad to do that! I'll give a try ASAP
Hi @aceol 👋
Thanks for your motivation! 👍 For your information, I've discussed with @hgwood and said:
node and deno are incompatible You can't run a node lib in deno except if there is dependency to nodejs.
And in the deno page
Deno is not compatible, in general, with Node (NPM) packages. There is a nascent compatibility layer being built at https://deno.land/std/node/ but it is far from complete. ... Over time, we expect Deno to be able to run more and more Node programs out-of-the-box
Hi @jlandure sorry for the delay. What exactly do you mean by a deno example using Chrome, any specific idea?
I can see it's not working with puppeteer. I had to update the Dockerfile commenting
#RUN git clone https://github.com/puppeteer/puppeteer/blob/master/src/ puppeteer
I guess it's a known issue but is that ok to be on the master branch?
Hi @aceol 👋
💬 I think about running something with deno using a Chromium (in Docker) See : https://github.com/denoland/deno/issues/1120 or https://github.com/denoland/deno/issues/4481 (and this demo)
👌 Yes Puppeteer will not work because of its node dependencies. See my comment https://github.com/Zenika/alpine-chrome/issues/95#issuecomment-635214086
💡 Do you have any another idea in mind?