-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
There is a TypeError saying URL is not a constructor, from gaxios dependency. Someone please help me. #688
Comments
Same here, using Cypress |
Same here. I found out that |
Any update on this fix ?
|
Had the same issue, changed version to 9.7.0 and it works. |
@nikfakel can you please describe what you changed directly in node_modules?
This doesn't fix it for me - @MrBadIvan did you do something extra except setting it to 9.7.0 and then npm / yarn install again? - I checked the |
@TimKraemer I changed this
And then I saved changes with patch-package, so CI/CD can keep this changes too Now I got that this is no some bug, this package has to work on NodeJS and not considered to work in browser. So you can use just as is. |
Nope =/ |
Hey, I fixed it. Sorry for my late reply. Basically I just copied the code and ran it in nodejs, instead of client side javascript. And it worked perfectly. 👍 Note: I still managed to run this on nextjs, not on pages though, but in the form of an api. |
Thank you! This is the only thing, that worked for me (I also had to remove my .next folder to kill the cached module). |
First of all. I tried to use patch-package to manage the error. But i dunno I'm using for Adobe Experience Manager purposes, but still having the gaxios URL typo. Any updates of this issue? |
@uzumis I use command (in package.json "scripts" to start server like this |
@nikfakel Works like a charm. before the patch package i use npm clean first to assure the patch will be applied with no problem. |
I have used google-auth-library, JWT auth for auth. Just yesterday it was working, today it is not.
https://theoephraim.github.io/node-google-spreadsheet/
Followed everything that was there in this docs. Also I’m using nextjs.
The text was updated successfully, but these errors were encountered: