You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I import the .scss or .css file and run my app, I have the error in my terminal:
> error - node_modules\style-loader\dist\runtime\insertStyleElement.js (5:0) @ Object.insertStyleElement
> ReferenceError: document is not defined
> null
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
I'm trying to use the following configuration in an application created with create-next-app:
.babelrc
next.config.js
But when I import the
.scss
or.css
file and run my app, I have the error in my terminal:What am I doing wrong?
The text was updated successfully, but these errors were encountered: