motia icon indicating copy to clipboard operation
motia copied to clipboard

[plugin:vite:css] Failed to load PostCSS config

Open kellergoech opened this issue 2 months ago • 2 comments

Environment

Windows 11, bunx (1.2.23), Chrome

Steps to Reproduce

  1. bunx motia@latest create (select python)
  2. bun install "--save [email protected] [email protected]"
  3. bun pm trust --all
  4. bun run dev

Expected Behavior

Tutorial webside showing up.

Actual Behavior

[plugin:vite:css] Failed to load PostCSS config (searchPath: D:/motia/test/node_modules/@motiadev/workbench/dist): [Error] Loading PostCSS Plugin failed: 2 errors building "D:\motia\test\node_modules\@tailwindcss\oxide\index.js"

(@D:\motia\test\node_modules\@motiadev\workbench\dist\postcss.config.mjs)
Error: Loading PostCSS Plugin failed: 2 errors building "D:\motia\test\node_modules\@tailwindcss\oxide\index.js"

(@D:\motia\test\node_modules\@motiadev\workbench\dist\postcss.config.mjs)
    at load (D:\motia\test\node_modules\vite\dist\node\chunks\dep-Bu492Fnd.js:11776:14)
    at processTicksAndRejections (native)

Relevant Logs/Console Output


Screenshots

Image

Motia Version

0.8.2.-beta139

Additional Context

No response

kellergoech avatar Oct 09 '25 19:10 kellergoech

Thank you, we will check that this week

sergiofilhowz avatar Oct 09 '25 19:10 sergiofilhowz

I tried the same with npx under arch there it does work, so seems to be something with the bunx/bun setup - I don't know how much this has been tested. With Ubuntu I couldnt use npx that fast because it uses a old (v18) version of nodejs as standard.

kellergoech avatar Oct 09 '25 19:10 kellergoech