Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: root.markClean is not a function #2644

Closed
klader-digital opened this issue Sep 2, 2024 · 3 comments
Closed

TypeError: root.markClean is not a function #2644

klader-digital opened this issue Sep 2, 2024 · 3 comments
Labels
bug Something isn't working stale

Comments

@klader-digital
Copy link

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 klader-digital added the bug Something isn't working label Sep 2, 2024
@klader-digital
Copy link
Author

See issue: postcss/postcss#1966

@retlehs retlehs transferred this issue from roots/sage Sep 2, 2024
@kellymears
Copy link
Member

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

postcss/postcss#1966 (comment)

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

Copy link

github-actions bot commented Nov 3, 2024

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

@github-actions github-actions bot added the stale label Nov 3, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants