I have an issue with a 261mb json file that gets corrupted while uploading
I tried uploading through the vscode extension (no error, but filesize 0b), the webbrowser (crashes) and ultimately imported through github (using LFS).
I am importing the json file with
const ffhq = require('./data/ffhq-dataset-v2.json') in my server.js and locally that worked fine. If I upload a smaller size json it is also working.
I even upgraded my account because I thought that the 200mb limitation would be the problem, but after boosting my app I am still only using 3mb/400mb which is weird…
Here is the link if somebody wants to look at the code: https://glitch.com/edit/#!/this-person-does-exist
The error I am getting is:
internal/modules/cjs/loader.js:787 throw err; ^ SyntaxError: /app/data/ffhq-dataset-v2.json: Unexpected token v in JSON at position 0 at JSON.parse (<anonymous>) at Object.Module._extensions..json (internal/modules/cjs/loader.js:784:27) at Module.load (internal/modules/cjs/loader.js:628:32) at Function.Module._load (internal/modules/cjs/loader.js:555:12) at Module.require (internal/modules/cjs/loader.js:666:19) at require (internal/modules/cjs/helpers.js:16:16) at Object.<anonymous> (/app/server.js:4:14) at Module._compile (internal/modules/cjs/loader.js:759:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10) at Module.load (internal/modules/cjs/loader.js:628:32)