bud icon indicating copy to clipboard operation
bud copied to clipboard

TypeError: root.markClean is not a function

Open klader-digital opened this issue 1 year ago • 2 comments

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 avatar Sep 02 '24 08:09 klader-digital

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

klader-digital avatar Sep 02 '24 08:09 klader-digital

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!

kellymears avatar Sep 03 '24 15:09 kellymears

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

github-actions[bot] avatar Nov 03 '24 01:11 github-actions[bot]