roots / bud

High-performance build system that supports SWC, esbuild, and Babel
https://bud.js.org/
MIT License
339 stars 41 forks source link

TypeError: root.markClean is not a function #2644

Open klader-digital opened 2 months ago

klader-digital commented 2 months ago

Version

6.23.3

What did you expect to happen?

Great success

What actually happens?

My build failed

Steps to reproduce

yarn build

System info

MacOS 14.5 (23F79)

Log output

╭ sage [e9d2b6be39030717]                                                                                                                                                                                                                                                                                ./public
│
│ │ Module build failed (from ../node_modules/postcss-loader/dist/cjs.js):
│ │ TypeError: root.markClean is not a function
│ │     at LazyResult.sync (node_modules/tailwindcss/node_modules/postcss/lib/lazy-result.js:377:14)
│ │     at node_modules/tailwindcss/lib/postcss-plugins/nesting/plugin.js:47:39
│ │     at Object.Once (node_modules/tailwindcss/lib/postcss-plugins/nesting/index.js:16:46)
│ │     at LazyResult.runOnRoot (node_modules/postcss/lib/lazy-result.js:327:23)
│ │     at LazyResult.runAsync (node_modules/postcss/lib/lazy-result.js:258:26)
│ │     at async Object.loader (node_modules/postcss-loader/dist/index.js:84:14)
│
│ │ Module build failed (from ../node_modules/postcss-loader/dist/cjs.js):
│ │ TypeError: root.markClean is not a function
│ │     at LazyResult.sync (node_modules/tailwindcss/node_modules/postcss/lib/lazy-result.js:377:14)
│ │     at node_modules/tailwindcss/lib/postcss-plugins/nesting/plugin.js:47:39
│ │     at Object.Once (node_modules/tailwindcss/lib/postcss-plugins/nesting/index.js:16:46)
│ │     at LazyResult.runOnRoot (node_modules/postcss/lib/lazy-result.js:327:23)
│ │     at LazyResult.runAsync (node_modules/postcss/lib/lazy-result.js:258:26)
│ │     at async Object.loader (node_modules/postcss-loader/dist/index.js:84:14)
│
╰ 4 errors


### Please confirm this isn't a support request.

Yes
klader-digital commented 2 months ago

See issue: https://github.com/postcss/postcss/issues/1966

kellymears commented 2 months ago

You should be able to resolve this by manually installing postcss at a compatible version:

https://github.com/postcss/postcss/issues/1966#issuecomment-2324108648

We'll upgrade the dependency when that issue is resolved. Thanks for filing the issue!

github-actions[bot] commented 2 days ago

Message to comment on stale issues. If none provided, will not mark issues stale