# Nextjs-shopify troubleshooting

**URL:** <https://forum.builder.io/t/nextjs-shopify-troubleshooting/633>\
**Category:** Technical Questions\
**Created:** [May 11, 2021, 5:12pm UTC](https://forum.builder.io/t/nextjs-shopify-troubleshooting/633 "2021-05-11T17:12:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maddy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/maddy/32/11_2.png) [@maddy](https://forum.builder.io/u/maddy)\
**Post date:** [May 11, 2021, 5:12pm UTC](https://forum.builder.io/t/nextjs-shopify-troubleshooting/633/1 "2021-05-11T17:12:05Z")

</div>

I have the [builder.io](http://builder.io) Shopify App running with the `nextjs-shopify` git project. The folder is successfully connected to my Shopify store, as well as [builder.io](http://builder.io) under the Organization “Accelerate360” \> "Builder-IO-LTG-Headless. I am able to run `npm run dev`, but when I visit localhost:3000, or try to make content edits within [builder.io](http://builder.io), the [builder.io](http://builder.io) CMS is unable to connect, and the Unix console displays errors. I have tried installing the Builder Chrome Extension, and I know the API credentials are correct because the CMS successfully synced the products. Any help would be greatly appreciated at this time.

The Browser error:

```
./assets/main.css ((webpack)/css-loader/cjs.js??ref--5-oneOf-6-1!(webpack)/postcss-loader/cjs.js??ref--5-oneOf-6-2!./assets/main.css)
TypeError: Cannot read property 'body' of undefined
at runMicrotasks (<anonymous>)

```

The console error on localhost:

```
Unknown error from PostCSS plugin. Your current PostCSS version is 8.2.13, but postcss-preset-env uses 6.0.23. Perhaps this is the source of the error below.
error - ./assets/main.css ((webpack)/css-loader/cjs.js??ref--5-oneOf-6-1!(webpack)/postcss-loader/cjs.js??ref--5-oneOf-6-2!./assets/main.css)
TypeError: Cannot read property 'body' of undefined
```

---

<div class="post-metadata">

**Author:** ![aziz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/aziz/32/2551_2.png) [@aziz](https://forum.builder.io/u/aziz)\
**Post date:** [May 11, 2021, 6:08pm UTC](https://forum.builder.io/t/nextjs-shopify-troubleshooting/633/3 "2021-05-11T18:08:03Z")

</div>

Hi jhopper23 , just did a test and wasn’t able to reproduce, please share anything specific about your environment that might cause this error.

---

<div class="post-metadata">

**Author:** ![jhopper23](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@jhopper23](https://forum.builder.io/u/jhopper23)\
**Post date:** [May 11, 2021, 9:27pm UTC](https://forum.builder.io/t/nextjs-shopify-troubleshooting/633/4 "2021-05-11T21:27:42Z")

</div>

Hi Aziz,

I am running nextjs-shopify in Kali Linux on a Windows Subsystem.

4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86\_64 GNU/Linux

Node Version: 16.1.0  
NPM Version: 7.12.1

The console also prints “Using Webpack 4” after starting server on localhost:3000.

Upon visiting localhost:3000, the console displays the PostCSS version error.

---

<div class="post-metadata">

**Author:** ![jhopper23](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@jhopper23](https://forum.builder.io/u/jhopper23)\
**Post date:** [May 11, 2021, 9:55pm UTC](https://forum.builder.io/t/nextjs-shopify-troubleshooting/633/5 "2021-05-11T21:55:19Z")

</div>

Aziz,

There is also the error in the console during a hot-session: “cannot find module build-manifest.json”

---

<div class="post-metadata">

**Author:** ![aziz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/aziz/32/2551_2.png) [@aziz](https://forum.builder.io/u/aziz)\
**Post date:** [May 11, 2021, 11:08pm UTC](https://forum.builder.io/t/nextjs-shopify-troubleshooting/633/6 "2021-05-11T23:08:01Z")

</div>

This error " cannot find module build-manifest.json " usually means that build has failed and there’s an underlying issue. Things to try to solve this:

- remove node\_modules folder and start a brand new `npm install` , it that didn’t solve it, was there any errors during the installation process?
- try using [nvm](https://github.com/nvm-sh/nvm) and the latest stable version of npm/node, latest LTS is 14.16.1 , after that repeat step 1 above.
