# Can't get the blog example running on localhost

**URL:** <https://community.prismic.io/t/cant-get-the-blog-example-running-on-localhost/2037>\
**Category:** Developing with Prismic\
**Tags:** gatsby\
**Created:** [September 26, 2020, 7:48pm UTC](https://community.prismic.io/t/cant-get-the-blog-example-running-on-localhost/2037 "2020-09-26T19:48:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshsaddress](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@joshsaddress](https://community.prismic.io/u/joshsaddress)\
**Post date:** [September 26, 2020, 7:48pm UTC](https://community.prismic.io/t/cant-get-the-blog-example-running-on-localhost/2037/1 "2020-09-26T19:48:19Z")

</div>

Re: [https://intercom.help/prismicio/en/articles/2933292-sample-blog-with-api-based-cms-gatsby-js](https://intercom.help/prismicio/en/articles/2933292-sample-blog-with-api-based-cms-gatsby-js)

Followed all the steps. npm starts and localhost renders blank. I've created and published 1 post in prismic. How to debug?

Public API: [https://jsiegel-pblog.prismic.io/graphql](https://jsiegel-pblog.prismic.io/graphql)

Joshua's-MacBook-Pro:jsiegel-pblog jsiegel$ prismic --version  
3.7.11

---

<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:** [September 30, 2020, 7:59pm UTC](https://community.prismic.io/t/cant-get-the-blog-example-running-on-localhost/2037/2 "2020-09-30T19:59:55Z")

</div>

Hey Josh, could you try with this version?

```auto
npm install prismic-cli@3.8.0-beta.0
-------
yarn add prismic-cli@3.8.0-beta.0

```

---

<div class="post-metadata">

**Author:** ![joshsaddress](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@joshsaddress](https://community.prismic.io/u/joshsaddress)\
**Post date:** [October 1, 2020, 9:29pm UTC](https://community.prismic.io/t/cant-get-the-blog-example-running-on-localhost/2037/4 "2020-10-01T21:29:01Z")

</div>

Thanks @Pau! Tried it again but still getting errors:

sudo npm start

Password:

> gatsby-blog@0.1.0 start /Users/jsiegel/jsiegel-pblog/jsiegel-blog2

> gatsby develop

Debugger listening on ws://127.0.0.1:9229/2b0f05f4-18cb-4620-8594-d32818360af4

For help, see: [Debugging - Getting Started | Node.js](https://nodejs.org/en/docs/inspector)

success open and validate gatsby-configs - 0.174s

success load plugins - 4.481s

success onPreInit - 0.132s

success initialize cache - 0.028s

success copy gatsby files - 0.213s

success onPreBootstrap - 0.043s

success createSchemaCustomization - 0.031s

ERROR #11321 PLUGIN

"@prismicio/gatsby-source-prismic-graphql" threw an error while running the sourceNodes lifecycle:

Response not successful: Received status code 404

ServerError: Response not successful: Received status code 404

ERROR

Missing onError handler for invocation 'building-schema', error was 'Error: Cannot create as TypeComposer the following value: ImageFormat.'. Stacktrace was 'Error: Cannot create as TypeComposer the following value: ImageFormat.  
at SchemaComposer.createTempTC (/Users/jsiegel/jsiegel-pblog/jsiegel-blog2/node\_modules/graphql-compose/lib/SchemaComposer.js:365:11)  
at SchemaComposer.addAsComposer (/Users/jsiegel/jsiegel-pblog/jsiegel-blog2/node\_modules/graphql-compose/lib/SchemaComposer.js:563:27)  
at processAddedType (/Users/jsiegel/jsiegel-pblog/jsiegel-blog2/node\_modules/gatsby/src/schema/schema.js:396:35)  
at forEach (/Users/jsiegel/jsiegel-pblog/jsiegel-blog2/node\_modules/gatsby/src/schema/schema.js:321:9)  
at Array.forEach ()  
at addTypes (/Users/jsiegel/jsiegel-pblog/jsiegel-blog2/node\_modules/gatsby/src/schema/schema.js:247:9)  
at updateSchemaComposer (/Users/jsiegel/jsiegel-pblog/jsiegel-blog2/node\_modules/gatsby/src/schema/schema.js:134:9)  
at buildSchema (/Users/jsiegel/jsiegel-pblog/jsiegel-blog2/node\_modules/gatsby/src/schema/schema.js:61:9)  
at build (/Users/jsiegel/jsiegel-pblog/jsiegel-blog2/node\_modules/gatsby/src/schema/index.js:105:24)  
at buildSchema (/Users/jsiegel/jsiegel-pblog/jsiegel-blog2/node\_modules/gatsby/src/services/build-schema.ts:19:3)'

---

<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:** [October 1, 2020, 11:56pm UTC](https://community.prismic.io/t/cant-get-the-blog-example-running-on-localhost/2037/5 "2020-10-01T23:56:50Z")

</div>

That's really strange, lets try a few things to try to debug this together:

- Have you verified the version of the cli to be the correct one?
- Are you going to the URL of the post you created on Prismic?
- Do you have any logs, errors that you could share with me, (screenshots)

---

<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:** [October 9, 2020, 5:03am UTC](https://community.prismic.io/t/cant-get-the-blog-example-running-on-localhost/2037/6 "2020-10-09T05:03:25Z")

</div>

closed on October 9, 2020, 5:03am UTC, flag & select 'Something Else' to reopen.

This issue has been closed due to inactivity. [Flag to reopen](https://community.prismic.io/t/re-open-a-thread/2175).

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 5:16pm UTC](https://community.prismic.io/t/cant-get-the-blog-example-running-on-localhost/2037/7 "2021-12-09T17:16:25Z")

</div>

Opened on December 9, 2021, 5:16pm UTC


