strapi-starter-next-corporate icon indicating copy to clipboard operation
strapi-starter-next-corporate copied to clipboard

Error: true is not a PostCSS plugin

Open gnc11 opened this issue 3 years ago • 1 comments

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.

gnc11 avatar Mar 21 '21 00:03 gnc11

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.

markkaylor avatar Mar 22 '21 15:03 markkaylor