-1

This is the error message I am getting with my import statement for the scss file in my _app.tsx. How do I resolve this? I am using Next.js & I've tried almost everything on the web https://i.stack.imgur.com/XNrjx.png

brc-dd
  • 10,788
  • 3
  • 47
  • 67
  • Please share more details like package.json dependencies, next-config.js . I am thinking CSS loaders(postCss-loader, sass) are not installed. please check that. – RKataria Jul 29 '22 at 13:31

1 Answers1

2

You made a directory with the name of style and inside that you made globals.scss and you tried to use it with ../styles.globals.scss

You have to use ../styles/globals.scss

Pavan Nagadiya
  • 652
  • 4
  • 10