-
Notifications
You must be signed in to change notification settings - Fork 11
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
Doesn't work in nodejs anymore #54
Comments
I looked more into it and it looks like |
Lemme take a look into this, but here's a breakdown of the changes that I made while fixing the CORS bug. This error was also popping up while I was trying to test after changing the
TLDR: The CORS fix requires that the |
Thanks for the reply. Sounds like a complex and annoying problem. Best of luck! |
Hey @uosl, I just created another PR that fixes this issue on my machine. Instead of changing the |
It works perfectly in my setup, and seems like the optimal solution as well. I take it you've tested and made sure it doesn't reverse your cors fix, so I merged the PR. Thanks again for the speedy fix! |
After 195b9e0, imjs no longer works in nodejs. Requiring it will throw the error
The below change is likely the culprit.
I guess the actual breakage lies deep in the cors fixing code, so I hope @LakshSingla has a chance to look at this?
May be related to #41 as the error also occurs at require, but I doubt it as that issue is pretty old.
I tested by doing a
grunt build
of the codebase checked out on that commit, and the one directly before it (where it works completely fine). Node version is v11.14.0.The text was updated successfully, but these errors were encountered: