Site will build locally but not on Cleavr


I’m having an issue with one of my sites. It will deploy locally:

But trying to deploy on Cleavr I’m getting:

 error   Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Response.json (file:///home/cleavr/
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Module.getItems (/src/utils/client.js:8:10)
    at async Module.getStaticPaths (/home/cleavr/[title].astro:1:3)
    at async callGetStaticPaths (file:///home/cleavr/
    at async getStaticPathsForRoute (file:///home/cleavr/
    at async collectPagesData (file:///home/cleavr/
    at async (file:///home/cleavr/
    at async (file:///home/cleavr/

Any ideas to why this could be?

Hello @Tom,

We’ll look into it and get back to you.

1 Like

Hello @Tom,

Can you please share with us the NodeJS, and NPM versions you’re using in your local environment?