Im experiencing issues with my glitch projects
when ever i add the data into the json files
the editor just deletes the insides of if causing downtime any reason why
Im experiencing issues with my glitch projects
when ever i add the data into the json files
the editor just deletes the insides of if causing downtime any reason why
Hi there @godboyxd. json isnβt very good for storing data because they corrupt easily. I suggest trying one of following which is better and has a less risk of corruption:
Quick.db β https://www.npmjs.com/package/quick.db (Best for Starters)
Endb β https://github.com/chroventer/endb
Enmap β https://www.npmjs.com/package/enmap
Better-Sqlite3 β https://www.npmjs.com/package/better-sqlite3
Mongoose β https://www.npmjs.com/package/mongoose
Postgres β https://www.npmjs.com/package/pg
html-db β https://yarnpkg.com/en/package/html-db
Glitch has some problems, but I donβt think that that is the issue.
You can also use modules.export() in js.