nextjs Global CSS cannot be imported from within node_modules. code example
Example: global css cannot be imported from files other than your
import '../global-styles/main.scss'
export default function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
}