wojtekmaj/react-daterange-picker

Build Error Occured : With the latest Release of yours

JohnsonJero03 opened this issue · 2 comments

HTML Reference Error Occured :

For about 2 months, we have used your Daterange-picker, Today we have tried to move our code to production.

ReferenceError: HTMLElement is not defined
at file:///opt/atlassian/pipelines/agent/build/node_modules/@wojtekmaj/react-daterange-picker/dist/esm/DateRangePicker.js:249:43
at ModuleJob.run (internal/modules/esm/module_job.js:183:25)
at async Loader.import (internal/modules/esm/loader.js:178:24) {
type: 'ReferenceError'

React Version: 17.0.2

It matches compatiable version that you've provided in you document:
Screenshot from 2023-07-28 09-58-41

React version | Newest compatible React-DateRange-Picker version
-- | --React version | Newest compatible React-DateRange-Picker version
-- | --
≥16.3 | latest
≥16.0 | 2.x
≥16.3 | latest
≥16.0 | 2.x

@JohnsonJero03 Issue: Build Error Occured: With the latest Release of yours #311

Screenshot from 2023-07-28 10-13-01

Thanks for the heads up - looking into it now