-
Notifications
You must be signed in to change notification settings - Fork 1
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
Script not working for x86_64-apple-darwin #7
Comments
Hey there, I encountered the same error while trying to deploy to Vercel using yarn. It looks like the package @minify-html/[email protected], required by @minify-html/node@^0.15.0, isn't available on the npm registry for the x86_64-apple-darwin architecture. I initially faced this issue too but later realized it was because astro-min doesn't work well with SSR (Server-Side Rendering) or hybrid outputs in Astro, especially when deploying with Vercel. Since I'm using pnpm and a Turbo repo, I had to double-check my Astro configuration. Make sure you have prerender: true set in your Astro components or that your project's build output is set to static. Adjusting these settings helped resolve the deployment issue on Vercel in my case. |
I have the same problem, I have configured my Astro project in "static" mode, I'm using bun as package manger and Windows as OS (in case it influences something). here's the error message in case it's helpful
|
It's working again, with The arm64 versions are somehow not available on npm registry, but just bun seems to request all optional packages. So right now it only won't build, if you actually have an apple arm device. I couldn't get a macos runner to build them, at least not yet.. and there will be some more improvement soon 😃 @shawnvanderveer I also noticed that, strange pnpm behaves diffrent on local machine and on vercel.. |
There is no @minify-html/node-darwin-arm64 package on npm. The package was mistakenly published as @minify-html/node-darwin-aarch64. (wilsonzlin/minify-html#172) However, the corrected version has not yet been released. As a temporary workaround for arm64 macOS, add the following to your package.json.
then |
I'm getting the following error when trying to install the package using yarn.
error Couldn't find package "@minify-html/[email protected]" required by "@minify-html/node@^0.15.0" on the "npm" registry
I'm using x86_64-apple-darwin. I tried using export TARGET=x86_64-apple-darwin but no luck. Thank you.
The text was updated successfully, but these errors were encountered: