# Prismic+Next.js Netlify deploy

**URL:** <https://community.prismic.io/t/prismic-next-js-netlify-deploy/10601>\
**Category:** Developing with Prismic\
**Tags:** nextjs\
**Created:** [July 12, 2022, 4:29pm UTC](https://community.prismic.io/t/prismic-next-js-netlify-deploy/10601 "2022-07-12T16:29:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![realgoodcms](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@realgoodcms](https://community.prismic.io/u/realgoodcms)\
**Post date:** [July 12, 2022, 4:29pm UTC](https://community.prismic.io/t/prismic-next-js-netlify-deploy/10601/1 "2022-07-12T16:29:08Z")

</div>

Hi!

I have a project built with Prismic + Next.js, and I am looking to host it on Netlify. However I get this build error when I deploy the site. On the documentation, I can only see the usage with Vercel, not sure if the instruction only works on Vercel. Wondering if there are more steps I have to follow in order to make this work with Netlify.

Thank you

 ![e](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/e/ead58dd401f55a03316665690185cc58f1906c40.png)

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [July 13, 2022, 1:54am UTC](https://community.prismic.io/t/prismic-next-js-netlify-deploy/10601/3 "2022-07-13T01:54:22Z")

</div>

Hello @realgoodcms, I'm not sure if this is related to the build step. Is everything working correctly in dev mode?

Because this isn't directly related to Prismic we don't have any resources to troubleshoot this type of error, but here's a response from the Netlify community I found online. It might be helpful:

- [Netlify not building - Command failed with exit code 1: npm run build - #2 by luke - Support - Netlify Support Forums](https://answers.netlify.com/t/netlify-not-building-command-failed-with-exit-code-1-npm-run-build/16999/2)
