Open Asim-Tahir opened 2 years ago
Came up with the exact same error. Did you manage to find a solution to this?
Hey @Asim-Tahir, it looks like we're incorrectly using node-fetch in your case. For context, we check whether window is defined to see if we can use the browsers fetch in a front end context, or node-fetch in the back end context.
To that end, can you check if window is defined?
To that end, can you check if window is defined?
Yeah, window
is also defined in browser console.
I cannot understand why behave like that.
Hi, did you find any solution to this?
Describe the problem
I haven't been able to make a request with airtable.js using
Vite
+Vue 3
. Is this a bug or am I missing something? Its throwTo Reproduce
Repro link: https://github.com/Asim-Tahir/airtable-repro-278
[ ] Clone repo into your local
[ ] Install dependencies
[ ] Rename
.env.example
file to.env
[ ] Fill
.env
enviroment variables[ ] Running the project
[ ] See error on browser console:
Console
tab of the devtools.System
Additional context