Conversation
|
and also couldn't understand why issues are off on this repo? |
|
@KMJ-007 hey, this repo is heavily unmaintained and only updated when replit changes something I've had times where I've pushed for years to fix fundamental bugs, they finally fixed them recently, but I'm not sure when they'll get back at it. In the mean time you can try my fork which I made exactly for the reasons above (it should easy to use as this and faster) |
|
@KMJ-007 in this case the issue is not related to the package though, I see you are using old NodeJS (possibly old template), and that version of NodeJS does not have top level fetch API, I suggest doing this to fix the issue: In modules = ["nodejs-20"]In |
|
wait what i didn't realised, i was giving the ai code generation demo to friend and that's how this mess came into existence |
Hey, my first comment doesn't fix the issue here, it's just me saying I have a better package for the replit db, the second comment is where I realized what the issue is and gave you two simple steps to fix it. |
|
@KMJ-007 you can close this now. It's not an issue with the package. |
was just trying to create simple todo to teach one friend how simple replit is, but it didn't go well
repl: https://replit.com/@KaranMJ/WindyLastChords#index.js
error:
list of todo: { ok: false, error: { message: 'fetch is not defined' }, errorExtras: undefined } { ok: false, error: { message: 'fetch is not defined' }, errorExtras: undefined } recived this todo, asdas { ok: false, error: { message: 'fetch is not defined' }, errorExtras: undefined } existing todos { ok: false, error: { message: 'fetch is not defined' }, errorExtras: undefined } set the following todos: { ok: false, error: { message: 'fetch is not defined' }, errorExtras: undefined }code: