Image scale doesn't work

I must have aged about 20 years with the "sharp" problem.

I was happy that everything worked perfectly.

When I included the "ifs", the conditions, where a type of image processing is performed for each case, I received an error again and the sharp module did not load.

The message is now different:

"Error: Could not load the "sharp" module using the linux-x64 runtime"

Many will think it must be something in the docker environment, and why was it working for the last 2 days right after running "npm install sharp"?

I've tried changing the OS in docker, Alpine, Debian 12, Debian11.

I've tried following the console recommendations:

1- npm install --include=optional sharp
2 - npm install --os=linux --cpu=x64 sharp

Nothing makes sharp load.

Has anyone else been having this problem? What version of sharp is being used?

If anyone has any more tips, I'd appreciate it.