-
Notifications
You must be signed in to change notification settings - Fork 66
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
Error, fetch is not defined. #15
Comments
Use node version 18 or higher.
Le lun. 13 mars 2023 à 09:47, Nessie ***@***.***> a écrit :
… is says fetch is not defined. I'm using node js 16, please help me how can
i fix this?
—
Reply to this email directly, view it on GitHub
<#15>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZ4WO5I27RXSHSONZHE6LQTW33NKDANCNFSM6AAAAAAVYYMN6Y>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
See old issues(they address the same problem) try installing cross fetch.
Le lun. 13 mars 2023 à 13:20, Naozumi ***@***.***> a écrit :
… I'm using node 18 and getting the same problem. I'm hosting on heroku.
[image: Screenshot 2023-03-13 at 8 20 03 PM]
<https://user-images.githubusercontent.com/52615455/224700087-200dc929-322f-4bba-8d92-b7ea6b1d5679.png>
—
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZ4WO5ICRZWMZRF3YTBI363W34GINANCNFSM6AAAAAAVYYMN6Y>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thank you for your reply. Global fetch did the trick, but I got an new issue: Update: Got the error Token is invalid if using personal token |
No bro using node js version 18 will affect my all scripts plugins. Please any other way to fix this? |
I could try pushing an experimental update that requires node-fetch in the dependencies when done fixing #13 & #14 - Currently solving multiple problems, so it would be better if I pushed one common update. I will keep you updated, in the meantime, either upgrade to node >18 (19 is preferred) or wait for a new update. Sorry for the inconvenience! |
Update 1 - Related to issue #11, quote:
After checking, node-fetch is already required in the dependencies. (in 1.0.0 at least) |
Merging all updates for |
is says fetch is not defined. I'm using node js 16, please help me how can i fix this?
The text was updated successfully, but these errors were encountered: