Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deno punycode not found issue #184

Open
myarcana opened this issue Jan 7, 2023 · 1 comment
Open

deno punycode not found issue #184

myarcana opened this issue Jan 7, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@myarcana
Copy link

myarcana commented Jan 7, 2023

I'm trying to use this module in deno using Skypack like this

import * as nodeHtmlToImage from "https://cdn.skypack.dev/node-html-to-image";

nodeHtmlToImage({
  output: './image.png',
  html: '<html><body>Hello world!</body></html>'
})
  .then(() => console.log('The image was created successfully!'))
  

but I'm getting some dependency-related punycode error:

error: Uncaught Error: [Package Error] "punycode" does not exist. (Imported by "puppeteer-cluster").
throw new Error("[Package Error] \"punycode\" does not exist. (Imported by \"puppeteer-cluster\").");
      ^
    at https://cdn.skypack.dev/error/node:punycode?from=puppeteer-cluster:14:7

Do you know how I can use node-html-to-image from within deno?

@frinyvonnick
Copy link
Owner

frinyvonnick commented Jan 18, 2023

Hello @myarcana 👋

Thank you for opening this issue. I don't know deno at all. Hope someone that uses both will be able to answer to you 🤞

If you find a solution don't forget to post here, please 🙏

@frinyvonnick frinyvonnick added the question Further information is requested label Jan 18, 2023
@frinyvonnick frinyvonnick added help wanted Extra attention is needed and removed question Further information is requested labels Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants