strapi / strapi-starter-next-corporate

Next.js starter for creating a corporate site with Strapi.
https://strapi-starter-next-corporate.vercel.app
MIT License
346 stars 95 forks source link

Error: true is not a PostCSS plugin #24

Open gnc11 opened 3 years ago

gnc11 commented 3 years ago

Hello. Immediately after starting the dev server, I get the following errors -

ready - started server on http://localhost:3000 error - ./styles/index.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-6-1!./node_modules/next/dist/compiled/postcss-loader??__nextjs_postcss!./styles/index.css) Error: true is not a PostCSS plugin

When you hit http://localhost:3000, you get an internal sever error with the following messages on the Terminal console -

event - build page: /next/dist/pages/_error wait - compiling... error - ./styles/index.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-6-1!./node_modules/next/dist/compiled/postcss-loader??__nextjs_postcss!./styles/index.css) Error: true is not a PostCSS plugin Error: Cannot find module '/Users/***/dev/js/corp-strapi-next/frontend/.next/build-manifest.json'

Any ideas on what the issue could be? Thank you.

markkaylor commented 3 years ago

Hi @gnc11 I just a did a fresh install with no issues. But I found this issue: https://github.com/vercel/next.js/issues/17236.

I think this error is related to the Tailwind install: https://tailwindcss.com/docs/guides/nextjs using next v9

Have you upgraded/changed any of the dependencies?

I will keep looking, but in the meantime please let me know if either of these resources help you.