Skip to content

image-size error #102

@abdullahshaik6033

Description

@abdullahshaik6033

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
excel4node@1.8.2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions