-
Notifications
You must be signed in to change notification settings - Fork 293
Compatibility Issue with @nuxt/image on Apple M4 Chip (macOS 15.3.1) #1702
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
Comments
I had an similar problem. try to install |
I'm having the same issue on Apple M2 I just switched my project from Weirdly the fix suggested by @alexfriesen worked! |
I'm glad it worked. |
Wow thank you @alexfriesen 🙏 This has to be indicated somewhere in the doc with a warning or even better if you could upgrade the dependency on ipx? |
The previous workaround won't work with the latest nuxt release. "resolutions": {
"ipx": "^3.0.0"
} |
Thank you very much @alexfriesen! |
I have the exact same issue. I did all the steps to fix it and now I get this |
Thank you very much @alexfriesen! |
Description:
I am encountering an issue when using the
@nuxt/image
module on a device with an Apple M4 chip running macOS 15.3.1. The error occurs during runtime, indicating that thesharp
module cannot be found. This issue does not occur on other platforms (e.g., Windows), suggesting a compatibility issue specific to the Apple M4 architecture. Here is the relevant code:Error Message
When running the Nuxt.js project with
@nuxt/image
, I receive the following error:Environment
Project Configuration
Here is the relevant part of my
package.json
:Steps to Reproduce
@nuxt/image
module.pnpm dev
ornpm run dev
.@nuxt/image
tries to use thesharp
module.Possible Solutions Tried
sharp
with platform-specific flags:sharp
is installed correctly by running:@nuxt/image
documentation for any platform-specific configurations.Additional Context
@nuxt/image
and the Apple M4 chip.sharp
module itself installs correctly, but@nuxt/image
fails to use it properly on macOS ARM64 (Apple M4).Request
Could you please investigate this compatibility issue? Is there a known workaround or fix for using
@nuxt/image
on devices with Apple M4 chips?Thank you for your help!
The text was updated successfully, but these errors were encountered: