-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
On OpenBSD/adJ 7.6 tailwindcss 4 produces "Unsupported OS: openbsd, architecture: x64" #17452
Comments
Hey! Tailwind CSS v3 depends on native module extensions (specifically Oxide but also |
Thanks for answering. Some projects are implementing solution in WebAssembly for platorms whose binaries they don't support. For example rollup and next.js. In the case of rollup in the projects that use it I have to add manually in the package.json:
In the case of next.js on runtime it chooses the right tools: In https://nextjs.org/docs/architecture/nextjs-compiler I read
|
I opened issues for:
|
Hey! We're shipping an experimental WASM build soon (should be in the next insiders) that can be used as a drop-in replacement for That also exists for So maybe this will work:
Would be awesome if you can test this once the release is out 🤞 |
What version of Tailwind CSS are you using?
v4.0.17
What build tool (or framework if it abstracts the build tool) are you using?
vite 6.2.0
What version of Node.js are you using?
v20.18.2
What browser are you using?
Chromium 128.0.6613.137
What operating system are you using?
OpenBSD/adJ 7.6
Reproduction URL
https://github.com/vtamara/minvt4
Cloning and running
will present the problem on OpenBSD/adJ 7.6.
Describe your issue
The steps to reproduce the problem from scratch on an OpenBSD/adJ 7.6 are:
% npm create vite@latest minvt4 -- --template react % cd minvt4
Editing
package.json
to add:Then starting the development server with
And opening in a browser http://localhost:5173/ will work:
After we stop the server and add
tailwindcss
by following the instructions of https://tailwindcss.com/docs/installation/using-viteThen we edit
vite.config.js
to make it:Then we add at the beginning of
src/index.css
:And finally running with `` and trying to open http://localhost:
will produce the error:
We experienced the same problem with tailwindcss v4 in a new project with next.js, we wrote the steps to reproduce it at https://github.com/vtamara/tailwindcss/wiki/Problem-with-tailwind-4-on-adJ-OpenBSD
There we also described a workaround by downgrading to tailwindcss v3.
The text was updated successfully, but these errors were encountered: