Register now - Learn how Tecovas roped in success with Sanity and Shopify 🤠

Issue with build failure on Netlify resolved with help from Henrique.

6 replies
Last updated: Feb 4, 2022
Hey everyone. I just tried to use a sanity.io starter template "Next.js landing pages" and went through the steps on getting started (haven't edited any of the code yet) to launch on netlify and the build fails. Just wanted to report this and ask if anyone has encountered this before/if its a known issue? Googling this lead me to believe that upgrading the babel-eslint package to @babel/eslint may fix this and I am about to try that now.
Feb 2, 2022, 5:41 PM
dev appears to work locally for me - the eslint config with lerna in this starter isn’t a method I’ve used before. The guy who wrote it is awesome and I’m sure has reasons for his methods.
Feb 2, 2022, 6:53 PM
Hey
user U
thanks for the update. This lerna stuff is new to me too and I think I would have to learn more about it to figure this bug out. I am glad I at least got it on the teams radar. Thank you for quick response
Feb 2, 2022, 8:36 PM
Hey
user U
thanks for the update. This lerna stuff is new to me too and I think I would have to learn more about it to figure this bug out. I am glad I at least got it on the teams radar. Thank you for quick response
Feb 2, 2022, 8:36 PM
Hi Justin! Circling back on this. The lovely and talented Henrique was able to make a pass on this and get everything working again. I just deployed it myself to test and the install was very smooth. You are welcome to deploy again from scratch or if you have entered data into your previous build, you can redeploy and swap projectIds and settings to the new fixed deployment. Here is my successful starter: https://example-nextjslandingpage-netlify-fixed.netlify.app/
Feb 4, 2022, 5:41 PM
Hi Justin! Circling back on this. The lively Henrique was able to make a pass on this and get everything working again. I just deployed it myself to test and the install was very smooth. You are welcome to deploy again from scratch or if you have entered data into your previous build, you can redeploy and swap projectIds and settings to the new fixed deployment. Here is my successful starter: https://example-nextjslandingpage-netlify-fixed.netlify.app/
Feb 4, 2022, 5:41 PM
Wow that was a quick turn around. Thank you for looking into this/fixing this. Tell Henrique thanks as well for me!
Feb 4, 2022, 5:56 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?

Categorized in