Currently, I am working on a Next.js application and encountered a strange error while adjusting the styling. The error message points to a module that seems to be missing...
User
Import trace for requested module:
./src/app/globals.css
GET /portraits 500 in 17242ms
⨯ ./src/app/globals.css:4:1
Module not found: Can't resolve './${props.imgInactive}'
The interesting part is, line 4 in global.css is blank since it's the default setting. Despite reverting all my changes, the issue persists. Strangely enough, removing @tailwind utilities resolves the error but then Tailwind functionalities are lost.
I have already attempted deleting node modules, clearing cache, and other troubleshooting methods without success.