I have the 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 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, the 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