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

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

Open
avinashdowntempo opened this issue Jan 8, 2024 · 1 comment
Open

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

avinashdowntempo opened this issue Jan 8, 2024 · 1 comment

Comments

@avinashdowntempo
Copy link

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):

  • OS: [linux]
  • Node Version: [8.11.3]
  • excel4node Version: [e.g. 1.8.2]
  • Application: none
  • Application Version (if applicable):

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

@pnappa
Copy link

pnappa commented Feb 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants