bud
bud copied to clipboard
TypeError: root.markClean is not a function
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
See issue: https://github.com/postcss/postcss/issues/1966
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!
Message to comment on stale issues. If none provided, will not mark issues stale