react-timezone-select: Module parse failed

Describe the bug

Uncaught Error: Module parse failed: Unexpected token (9057:38) 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.

Reproduction

importing the module is enough.

System Info

W10 64 Chrome

Used Package Manager

npm

Validations

  • Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

Yeah worth trying… I’ve updated the tsconfig.json target to es6 in v2.1.1 👍