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

TypeError: (0 , util_1.promisify) is not a function #7

Closed
ArturBaybulatov opened this issue Apr 29, 2023 · 3 comments · May be fixed by #8
Closed

TypeError: (0 , util_1.promisify) is not a function #7

ArturBaybulatov opened this issue Apr 29, 2023 · 3 comments · May be fixed by #8

Comments

@ArturBaybulatov
Copy link

ArturBaybulatov commented Apr 29, 2023

Hi. I'm using Node v18.4.0 and Vite v4.2.1, and I get the following error in a Browser:

image

@KnorpelSenf
Copy link
Owner

I'm not sure the Node build is browser-compatible. I didn't need this myself yet, but I agree that oson should have it. dnt probably screws this up.

Do you want to open a pull request which adds a web build to the npm package? You can take inspiration from https://github.com/grammyjs/grammY/blob/main/bundling/bundle-web.ts. Or maybe don't, I'm not sure.

@KnorpelSenf
Copy link
Owner

We updated dnt. Can you check if this still happens?

@KnorpelSenf
Copy link
Owner

Closing due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants