nuxt / image

Plug-and-play image optimization for Nuxt applications.
https://image.nuxt.com
MIT License
1.35k stars 270 forks source link

IPX error in dev server #1444

Closed estoforshort closed 2 months ago

estoforshort commented 2 months ago
{
    "error": {
        "message": "[500] [IPX_ERROR] \nSomething went wrong installing the \"sharp\" module\n\nModule did not self-register: '/home/esto/hunters-lodge/node_modules/sharp/build/Release/sharp-linux-x64.node'.\n\nPossible solutions:\n- Using worker threads? See https://sharp.pixelplumbing.com/install#worker-threads\n- Install with verbose logging and look for errors: \"npm install --ignore-scripts=false --foreground-scripts --verbose sharp\"\n- Install for the current linux-x64 runtime: \"npm install --platform=linux --arch=x64 sharp\"\n- Consult the installation documentation: https://sharp.pixelplumbing.com/install"
    }
}

Everything works fine when I start up the dev server, but after few hot reloads, it breaks. My environment is very minimal Debian 12 running in WSL2.

CommanderStorm commented 2 months ago

Duplicate of https://github.com/nuxt/image/issues/1372

Also "My environment is very minimal" is a pretty bad explaiantion on how you if you installed sharp, what version of it you are running, what version of @nuxt/image, ...

OSS-Support is always just as good as the input you put in..