-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
Because of the fs-extra bump the tailwindcss command now requires Node v10, as that module dropped support for Node versions prior to that.
The specific error I am seeing (on Node v8.12.0) is due to the usage of the optional catch binding feature added in Node v10:
> tailwindcss build in.css -o out.css
node_modules/fs-extra/lib/mkdirs/make-dir.js:86
} catch {
^
SyntaxError: Unexpected token {
I'm guessing this was unintentional since it isn't mentioned in the release notes and it would constitute a breaking change. I propose reverting the fs-extra bump to maintain the original Node support until at least the next major Tailwind release.
Metadata
Metadata
Assignees
Labels
No labels