VS Code - node js issue globals.css not detects in layout.tsx #183520
Unanswered
vishuenc-afk
asked this question in
npm
Replies: 2 comments
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
It seems like there is an issue with how the path to your Steps to resolve:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I am trying to build sample e-commerce website. I am using VS Code Version: 1.107.1
ElectronBuildId: 12895514 Chromium: 142.0.7444.175 Node.js: 22.21.1 V8: 14.2.231.21-electron.0 OS: Darwin arm64 25.1.0 but when I use default globals.css it works fine as localhost:port response is good however When i try to custom one globals.css it wont detect at all instead throws error as below - I have tailwindCSS postCSS included in VC Code.
Error evaluating Node.js code
CssSyntaxError: tailwindcss: /Users/01/shopstore/src/app/assets/styles/globals.css:1:1: Can't resolve '/app/assets/styles/globals.css' in '/Users/01/shopstore/src/app/assets/styles'
[at Input.error (turbopack:///[project]/shopstore/node_modules/postcss/lib/input.js:135:16)]
[at Root.error (turbopack:///[project]/shopstore/node_modules/postcss/lib/node.js:146:32)]
Beta Was this translation helpful? Give feedback.
All reactions