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
Uncaught ReferenceError: setImmediate is not defined #1489
Comments
browserify/timers-browserify#28 May it could help? |
That's funny, I read a post (browserify/timers-browserify#25 (comment)) that advises to inject these variables globally to make it working, so in my Vue settings I custom webpack with:
Now I'm able to reach "setImmediate" in my Chrome console, but Winston is still showing me the error... when looking at sourceMap the error is here:
Any idea @indexzero ? EDIT: I also removed my lock file and the node_modules directory but it doesn't change anything 😢 EDIT2: Maybe winston plugin could use setImmediate from a package that suppports browser compatibility? (https://github.com/YuzuJS/setImmediate) |
I'm using a workaround thanks to @jpsear (#1354 (comment)). I'm leaving this issue opened until having a feedback from one of the maintainer 🔨 |
Hi,
I get errors as soon as I try to write logs with winston inside my Vue.js project. Here is the code:
And the "2222" is never showed, it fails before with the following error:
I don't understand what's the problem. There is not that much information about that kind of error :/
I'm using Winston 3.1.0 inside a TypeScript project.
Do you have any idea that could help please?
Thank you,
The text was updated successfully, but these errors were encountered: