-
Notifications
You must be signed in to change notification settings - Fork 287
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
ERROR Cannot find package 'ipx' #1209
Comments
Would you be able to provide a reproduction? 🙏 More infoWhy do I need to provide a reproduction?Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making. What will happen?If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritise it based on its severity and how many people we think it might affect. If How can I create a reproduction?We have a template for starting with a minimal reproduction: 👉 https://stackblitz.com/github/nuxt/image/tree/main/example A public GitHub repository is also perfect. 👌 Please ensure that the reproduction is as minimal as possible. See more details in our guide. You might also find these other articles interesting and/or helpful: |
Hi, I also ran into this error. Reproduced with a clean https://github.com/Drew-Macgibbon/cannot-find-ipx-reproduction I downgraded to |
I ran your project and downgraded it will worked. but it can not solve @nuxt/image latest version ^1.3.0 If I use |
I can confirm this happens to me too.
Version |
Same issue, |
I also faced this error in 3 other projects, I would be interested to know if using |
In my case, the solution turned out to be installing a newer version of Node using NVM, specifically upgrading from version 18.16.0 to 18.19.0. Is it possible that the issue was related to the npm cache? |
Sharp seems to require node 18.17.0 or newer. https://github.com/lovell/sharp/blob/bd4f1abba28831b8db246366f2f5f8d5ed701eac/package.json#L188-L191 |
I appear to have the same issue. 1.3.0 doesn't work, but 1.2.0 does. My node version is 20.11.0 |
I have the same issue -but running 1.2.0 doesn't fix it... Must be because I'm running older versions: |
Hi, I have the same issue. 1.2.0 works fine but not 1.3.0 |
I encountered this problem again today in my Netlify deplyoment pipeline and it got fixed just by pinning Node version to recent |
I'm getting the same issue with 1.4.0, while I didn't have it with 1.3.0. Node version : 20.11.1 logs
|
I'm getting the same issue with 1.4.0, while I didn't have it with 1.2.0. Node version : 20.11.1 So I downgraded the version of @nuxt/iamge to 1.2 |
I'm still getting the error with 1.5.0. I also noticed that it happens only with Downgrading to 1.3.0 makes it work again. |
look at this; |
Thanks, @furkansahintr. However, I don't have
Hence, the images should be generated automatically, without the need to specify them in the |
ℹ️ I'm still getting the error with v1.7.0 |
Node Version: 20.13.1 Issue: Additional Information: |
I was able to dismiss the error by running |
At present, it seems that only 1.3.0 is a reliable and available version. |
NuxtImage, I did 2 tests
Summary: There should be a problem with the installation cache,clear the cache and reinstall it. |
Thanks, test2 is useful |
I am getting this issue with ipx 3.0.1 |
Experiencing the same issue. Any help would be appreciated! |
Also met the issue with, but I have solved @nuxt/image: 1.8.1 node: v20.18.0 Solve it with |
Closing as the solution was provided. |
Thank you all for your input. I have to say that I long since stopped using Nuxt Image as I started using bash to convert to an appropriate file size and format. I can't comment on whether newer versions of Nuxt Image solved this problem. But with 1.3.0 removing nuxt_modules was never the solution. Someone who is still using Nuxt Image might want to double check this. . . |
Node: 18.8.0
Nuxt: ^3.9.0
Nuxt-Img: ^1.1.0
WARN "ipx" is imported by "node_modules/@nuxt/image/dist/runtime/ipx.mjs", but could not be resolved – treating it as an external dependency.
ERROR Cannot find package 'ipx' imported from /vue/.nuxt/prerender/index.mjs
The text was updated successfully, but these errors were encountered: