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

image-size error #102

Open
abdullahshaik6033 opened this issue Aug 9, 2024 · 0 comments
Open

image-size error #102

abdullahshaik6033 opened this issue Aug 9, 2024 · 0 comments

Comments

@abdullahshaik6033
Copy link

Describe the bug
./node_modules/image-size/dist/index.js 42:31
Module parse failed: Unexpected token (42:31)
File was processed with these loaders:

  • ./node_modules/babel-loader/lib/index.js
    You may need an additional loader to handle the result of these loaders.
    | const size = index_1.typeHandlers[type].calculate(input, filepath);
    | if (size !== undefined) {
    size.type = size.type ?? type;

| return size;
| }

To Reproduce
[email protected]

Expected behavior
A clear and concise description of what you expected to happen.

Environment (please complete the following information):

  • OS: [e.g. Ubuntu 18.04]
  • Node Version: [e.g. 8.11.14]
  • excel4node Version: [e.g. 1.5.0]
  • Application: [e.g. LibreOffice, Microsoft Excel, Office 365 Online, Google Sheets]
  • Application Version (if applicable): [e.g. check version]

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

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

1 participant