-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Closed
Labels
Description
I'm using React Router as a...
library
Reproduction
after npx create-react-router@latest my-react-router-app and then I run npm run dev it throws this error
appName> npm run dev
> dev
> react-router dev
node:internal/process/promises:391
triggerUncaughtException(err, true /* fromPromise */);
^
[Failed to load PostCSS config: Failed to load PostCSS config (searchPath: C:/Users/.........../injsubstation): [Error] Loading PostCSS Plugin failed: Cannot find module 'tailwindcss'
Require stack:
- C:\Users\username\postcss.config.js
(@C:\Users\username\postcss.config.js)
Error: Loading PostCSS Plugin failed: Cannot find module 'tailwindcss'
Require stack:
- C:\Users\username\postcss.config.js
System Info
windows: 11
vscodeUsed Package Manager
pnpm
Expected Behavior
after the initial installation of the default package and libraries I expect the app to run without throwing error
Actual Behavior
throws postCSS error
Error: Loading PostCSS Plugin failed: Cannot find module 'tailwindcss'