Thanks to this user’s input on similar thread: Error backend zip - #3 by btlemso
The fix to this error is the following:
- Open the package.json file
- Under
"dependencies"
delete the line containing the"sharp"
module. - Run the command
npm install sharp
in your command prompt or terminal. - The sharp module should automatically appear with the updated version.
- Re-run the
node index.js
command to start the server (Make sure you have YOUR IP address.) - Check the port in a local host to make sure it’s running.
This solved the issue for me!