Skip to content

Uncaught TypeError: promisify is not a function. #104

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

Open
avenla-mlindman opened this issue Feb 13, 2025 · 1 comment
Open

Uncaught TypeError: promisify is not a function. #104

avenla-mlindman opened this issue Feb 13, 2025 · 1 comment

Comments

@avenla-mlindman
Copy link

I'm trying to create a Vue app that calls a soap webservice.
After fiddling a bit with eslint rules, I got my app running, but it fails with the error

Uncaught TypeError: promisify is not a function.

After some googling, am I right to assume that this tool produces output only for NodeJS ( serverside ) applications?

Or is there I'm doing wrong?

@RupW
Copy link

RupW commented Mar 19, 2025

There are polyfills out there for promisify, e.g. https://www.npmjs.com/package/util.promisify - I'm not 100% that will work client side from the description, but I can't see why not - and you'll find a few written up in blogs.

I haven't tried any of them though, and you obviously have to worry about CORS etc. if you're making requests to a different server client-side.

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

No branches or pull requests

2 participants