Skip to content
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

IPX Error: Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'sharp' imported from /ssr/node_modules/ipx/dist/chunks/middleware.mjs #582

Open
kyr1eee opened this issue Aug 5, 2022 · 13 comments
Labels
bug Something isn't working needs reproduction

Comments

@kyr1eee
Copy link

kyr1eee commented Aug 5, 2022

IPX Error: Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'sharp' imported from /node_modules/ipx/dist/chunks/middleware.mjs

The external performance

load picture failed in the production enviroment, but normal in development.

image

can not install sharp

can not find node_modules/sharp in docker terminal.

@maietta
Copy link

maietta commented Mar 11, 2023

You will never find your answer.

@kyr1eee
Copy link
Author

kyr1eee commented Mar 11, 2023 via email

@franzus5
Copy link

+1

@kyr1eee
Copy link
Author

kyr1eee commented Apr 13, 2023 via email

@Mohammad-Khayata-4441
Copy link

UP

@kyr1eee
Copy link
Author

kyr1eee commented Jun 15, 2023 via email

@nowaysgit
Copy link

nowaysgit commented Nov 30, 2023

+1 when using docker
Cannot find package 'ipx' imported from /src/.output/server/index.mjs

@kyr1eee
Copy link
Author

kyr1eee commented Nov 30, 2023 via email

@CallBoson
Copy link

+1 randomly
Cannot find package 'ipx' imported from /src/.output/server/index.mjs

@JenuelDev
Copy link

I am also having this error in my dev, although it is working fine in production.

image

@kyr1eee
Copy link
Author

kyr1eee commented Jan 21, 2024 via email

@Baroshem Baroshem added bug Something isn't working needs reproduction labels Dec 16, 2024
Copy link
Contributor

Would you be able to provide a reproduction? 🙏

More info

Why 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 needs reproduction labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.

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:

@kyr1eee
Copy link
Author

kyr1eee commented Dec 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs reproduction
Projects
None yet
Development

No branches or pull requests

8 participants