advisr-io / excel4node

Node module to allow for easy Excel file creation
MIT License
124 stars 18 forks source link

Error with image-size library when using node v8.11.3 #90

Open avinashdowntempo opened 6 months ago

avinashdowntempo commented 6 months ago

Describe the bug /node_modules/image-size/dist/index.js:36 size.type = size.type ?? type;

To Reproduce when you run the application with this version in any node app.

Expected behavior should run perfectly with no issues.

Environment (please complete the following information):

Additional context Add any other context about the problem here. Log entries related to the issue are good things.

pnappa commented 4 months ago

Minimum version of NodeJS required is v14. See the engines field in package.json.

Upgrade your Node version. It's insecure, deprecated, and unsupported. I suggest using nvm to install a known-good version. https://github.com/nvm-sh/nvm

E.g. run nvm install --lts, and nvm use --lts to use a modern, long term support version.

version 8 has been unsupported for 5 years. https://endoflife.date/nodejs