Getting internal server error publishing website in staging

Hello,
We have a major problem when trying to publish the website in staging. In the build we get this error:

Error: Error fetching loader data: Internal Server Error
   at r.fetchLoaderData (/working_dir/node_modules/@plasmicapp/loader-fetcher/dist/loader-fetcher.cjs.production.min.js:1:799)
   at processTicksAndRejections (node:internal/process/task_queues:96:5)
   at async exports.PlasmicModulesFetcher.doFetch (/working_dir/node_modules/@plasmicapp/loader-fetcher/dist/loader-fetcher.cjs.production.min.js:1:2429)
   at async exports.PlasmicModulesFetcher.getCachedOrFetch (/working_dir/node_modules/@plasmicapp/loader-fetcher/dist/loader-fetcher.cjs.production.min.js:1:2355)
   at async exports.PlasmicModulesFetcher.fetchAllData (/working_dir/node_modules/@plasmicapp/loader-fetcher/dist/loader-fetcher.cjs.production.min.js:1:1931)

We’re getting similar errors. NextJS with Loader.

Error: Error parsing JSON response: SyntaxError: Unexpected end of JSON input; status: 504; response: 
    at r.parseJsonResponse (/vercel/path0/node_modules/@plasmicapp/loader-fetcher/dist/loader-fetcher.cjs.production.min.js:1:1041)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async r.fetchLoaderData (/vercel/path0/node_modules/@plasmicapp/loader-fetcher/dist/loader-fetcher.cjs.production.min.js:1:761)
    at async exports.PlasmicModulesFetcher.doFetch (/vercel/path0/node_modules/@plasmicapp/loader-fetcher/dist/loader-fetcher.cjs.production.min.js:1:2471)
    at async exports.PlasmicModulesFetcher.getCachedOrFetch (/vercel/path0/node_modules/@plasmicapp/loader-fetcher/dist/loader-fetcher.cjs.production.min.js:1:2397)
    at async exports.PlasmicModulesFetcher.fetchAllData (/vercel/path0/node_modules/@plasmicapp/loader-fetcher/dist/loader-fetcher.cjs.production.min.js:1:2101)

Sorry about that. I’m deploying a fix

getting the same error

1 Like