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: regeneratorRuntime is not defined #374

Closed
verstrepeng opened this issue Apr 27, 2022 · 8 comments
Closed

Error: regeneratorRuntime is not defined #374

verstrepeng opened this issue Apr 27, 2022 · 8 comments
Labels
bug Something isn't working released

Comments

@verstrepeng
Copy link

verstrepeng commented Apr 27, 2022

Describe the bug

Since upgrade, card is not working, getting following error in the logs:

Logger: frontend.js.latest.202204050
Source: components/system_log/__init__.py:190
First occurred: 14:13:55 (9 occurrences)
Last logged: 17:02:01

http://hass.homenet:8123/hacsfiles/vacuum-card/vacuum-card.js:1:22618 Uncaught ReferenceError: regeneratorRuntime is not defined

Config

          - type: custom:vacuum-card
            card_mod:
            style: |
              ha-card {
                --primary-color: var(--primary-color);
                --text-primary-color: var(--text-primary-color);
              }
              :host ha-icon {
                color: var(--paper-item-icon-color);
              }
              .toolbar {
                color: var(--paper-item-icon-color);
              }
              .preview .stats {
                border-top: 1px solid var(--divider-color);
              }
              .preview .stats .stats-block {
                border-right: 1px solid var(--divider-color);
              }
            entity: vacuum.xiaomi_vacuum_cleaner
            stats:
              default:
                - entity_id: sensor.xiaomi_vacuum_cleaner_filter_left
                  unit: hours
                  subtitle: Filter
                - entity_id: sensor.xiaomi_vacuum_cleaner_side_brush_left
                  unit: hours
                  subtitle: Side brush
                - entity_id: sensor.xiaomi_vacuum_cleaner_main_brush_left
                  unit: hours
                  subtitle: Main brush
                - entity_id: sensor.xiaomi_vacuum_cleaner_sensor_dirty_left
                  unit: hours
                  subtitle: Sensors
              cleaning:
                - entity_id: sensor.xiaomi_vacuum_cleaner_last_clean_area
                  unit: m2
                  subtitle: Cleaning area
                - entity_id: sensor.xiaomi_vacuum_cleaner_last_clean_duration
                  unit: minutes
                  subtitle: Cleaning time
            shortcuts:
              - name: "Keuken"
                service: xiaomi_miio.vacuum_clean_segment
                service_data:
                  entity_id: vacuum.xiaomi_vacuum_cleaner
                  segments: 16
                icon: mdi:silverware-variant
              - name: "Eetplaats"
                service: xiaomi_miio.vacuum_clean_segment
                service_data:
                  entity_id: vacuum.xiaomi_vacuum_cleaner
                  segments: 17
                icon: mdi:table-chair
              - name: "Zithoek"
                service: xiaomi_miio.vacuum_clean_segment
                service_data:
                  entity_id: vacuum.xiaomi_vacuum_cleaner
                  segments: 18
                icon: mdi:sofa
              - name: "Clean 19"
                service: xiaomi_miio.vacuum_clean_segment
                service_data:
                  entity_id: vacuum.xiaomi_vacuum_cleaner
                  segments: 19
                icon: mdi:shoe-formal
              - name: "Clean 20"
                service: xiaomi_miio.vacuum_clean_segment
                service_data:
                  entity_id: vacuum.xiaomi_vacuum_cleaner
                  segments: 20
                icon: mdi:shoe-formal

Versions:

  • Release: 2.6.2
  • Browser: Chrome
  • HomeAssistant version: 2022.4.7
@verstrepeng verstrepeng added the bug Something isn't working label Apr 27, 2022
@cpanel10x
Copy link

Me too

@VicenteKER
Copy link

same issue... waiting for v2.6.3... or downgrading....

@LuckyTriple7
Copy link

LuckyTriple7 commented Apr 27, 2022

try to downgrade, but not working for me. I tried many different Versions, no idea why ...

Downgrade works now, I probably didn't clear the browser history and cache properly.

@majkers
Copy link

majkers commented Apr 27, 2022

I have the same and it started with upgrading HACS and vacum and purifier card

@fcastilloec
Copy link

I can see this error, not only on Chrome but also on the Android app

@denysdovhan
Copy link
Owner

Thanks, everyone for reporting. The fix should be included in the following patch release.

github-actions bot pushed a commit that referenced this issue Apr 27, 2022
## [2.6.3](v2.6.2...v2.6.3) (2022-04-27)

### Bug Fixes

* regeneratorRuntime is not defined. fix [#374](#374) ([65382d3](65382d3))
@github-actions
Copy link

🎉 This issue has been resolved in version 2.6.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@verstrepeng
Copy link
Author

Many thanks !

github-actions bot pushed a commit to cociweb/lawn-mower-card that referenced this issue May 28, 2024
# 1.0.0 (2024-05-28)

### Bug Fixes

* "Encontrar" replaced by "Localizar" as a more adequate translation ([649162c](649162c))
* add and translate missing states ([denysdovhan#231](https://github.com/cociweb/lawn-mower-card/issues/231)) ([8186565](8186565))
* Add image-rendering optimize-contrast in map ([denysdovhan#225](https://github.com/cociweb/lawn-mower-card/issues/225)) ([e020983](e020983))
* Add pt.json in localize.json ([denysdovhan#258](https://github.com/cociweb/lawn-mower-card/issues/258)) ([edf33ad](edf33ad))
* Add sources for German ([denysdovhan#210](https://github.com/cociweb/lawn-mower-card/issues/210)) ([7389324](7389324))
* Add state ""docked" in ru.json ([denysdovhan#205](https://github.com/cociweb/lawn-mower-card/issues/205)) ([93726f4](93726f4))
* Added states for Deebot N79; including auto, spot, and edge. ([denysdovhan#206](https://github.com/cociweb/lawn-mower-card/issues/206)) ([5b18b3f](5b18b3f))
* Adding missing status in HE & Fix status location for RTL languages ([denysdovhan#232](https://github.com/cociweb/lawn-mower-card/issues/232)) ([07ebe3e](07ebe3e))
* bump ha-template ([031bd3b](031bd3b))
* circular progress ([4263164](4263164))
* compact view menu ([5c30871](5c30871))
* Corrected a typo in polish translation ([denysdovhan#223](https://github.com/cociweb/lawn-mower-card/issues/223)) ([cf44a7a](cf44a7a))
* Czech translation update ([denysdovhan#324](https://github.com/cociweb/lawn-mower-card/issues/324)) ([0bf94d8](0bf94d8))
* **deps:** fix stale ha-tempalte bundle ([9548c11](9548c11))
* duplicated in localize ([ae5c993](ae5c993))
* Ensure getAttributes().status is always string ([denysdovhan#702](https://github.com/cociweb/lawn-mower-card/issues/702)) ([a25f254](a25f254))
* Fix `getCardSize()` ([denysdovhan#222](https://github.com/cociweb/lawn-mower-card/issues/222)) ([3e8c4fc](3e8c4fc))
* fix broken ui in editor ([3108530](3108530))
* fix dropdown overflow ([9c02c46](9c02c46)), closes [denysdovhan#365](https://github.com/cociweb/lawn-mower-card/issues/365)
* fix german translation ([denysdovhan#283](https://github.com/cociweb/lawn-mower-card/issues/283)) ([777939a](777939a))
* Fix hovering labels for ha-icon-buttons ([denysdovhan#372](https://github.com/cociweb/lawn-mower-card/issues/372)) ([76780e4](76780e4))
* fix problem with ha-template dep ([e6154c7](e6154c7))
* fix toolbar icon centering ([0a53a02](0a53a02))
* HA 2022.3.x ([043b622](043b622))
* ha-button-icon issue ([denysdovhan#278](https://github.com/cociweb/lawn-mower-card/issues/278)) ([32dd911](32dd911))
* he translation ([denysdovhan#265](https://github.com/cociweb/lawn-mower-card/issues/265)) ([0e9c796](0e9c796))
* missing , in ru.json ([c627c85](c627c85))
* More keys for Ukrainian and English ([112072f](112072f))
* no implicit any ([429426e](429426e))
* not rendering falsy values in stats. fix [denysdovhan#373](https://github.com/cociweb/lawn-mower-card/issues/373) ([df278f9](df278f9))
* Polish translation ([denysdovhan#308](https://github.com/cociweb/lawn-mower-card/issues/308)) ([37c3bd0](37c3bd0))
* problem with replacing pkg version ([851f0a2](851f0a2))
* **readme:** Add notice about Ukraine ([03d4799](03d4799))
* regeneratorRuntime is not defined. fix [denysdovhan#374](https://github.com/cociweb/lawn-mower-card/issues/374) ([65382d3](65382d3))
* remove comment. triger semantic release ([218000b](218000b))
* remove some conditions for release ([7945494](7945494))
* Remove unused @semantic-release/changelog ([9638b30](9638b30))
* returning key translation in ru.json ([denysdovhan#209](https://github.com/cociweb/lawn-mower-card/issues/209)) ([e67c495](e67c495))
* Russian translation.json ([denysdovhan#285](https://github.com/cociweb/lawn-mower-card/issues/285)) ([c101dd8](c101dd8))
* Spanish translation ([denysdovhan#186](https://github.com/cociweb/lawn-mower-card/issues/186)) ([1a68059](1a68059))
* The websocket command 'camera_thumbnail' has been deprecated. ([denysdovhan#201](https://github.com/cociweb/lawn-mower-card/issues/201)) ([f4a5e97](f4a5e97))
* untranspiled ?? operator ([64c8f71](64c8f71))
* Update and add missing in pl.json ([denysdovhan#299](https://github.com/cociweb/lawn-mower-card/issues/299)) ([85b06e8](85b06e8))
* Update cs.json ([denysdovhan#368](https://github.com/cociweb/lawn-mower-card/issues/368)) ([84344c6](84344c6))
* Update fr with missing field ([denysdovhan#226](https://github.com/cociweb/lawn-mower-card/issues/226)) ([7e8273a](7e8273a))
* Update German translation ([denysdovhan#674](https://github.com/cociweb/lawn-mower-card/issues/674)) ([025e9d8](025e9d8))
* update german translations for deebot vacuums ([denysdovhan#305](https://github.com/cociweb/lawn-mower-card/issues/305)) ([d8d5261](d8d5261))
* Update he.json ([denysdovhan#219](https://github.com/cociweb/lawn-mower-card/issues/219)) ([0b9a473](0b9a473))
* Update hu.json ([denysdovhan#605](https://github.com/cociweb/lawn-mower-card/issues/605)) ([1a92e99](1a92e99))
* Update locate icon to be aligned with vacuum card ([denysdovhan#182](https://github.com/cociweb/lawn-mower-card/issues/182)) ([3e45131](3e45131)), closes [denysdovhan#136](https://github.com/cociweb/lawn-mower-card/issues/136)
* Update ru.json ([denysdovhan#602](https://github.com/cociweb/lawn-mower-card/issues/602)) ([733ce63](733ce63))
* Update Ukrainian translation ([denysdovhan#262](https://github.com/cociweb/lawn-mower-card/issues/262)) ([a6aa0fe](a6aa0fe))
* Updated polish translation ([denysdovhan#734](https://github.com/cociweb/lawn-mower-card/issues/734)) ([b7559ea](b7559ea))
* Updated pt translation ([denysdovhan#672](https://github.com/cociweb/lawn-mower-card/issues/672)) ([763fa40](763fa40))
* Updates to Finnish (fi) translation ([denysdovhan#608](https://github.com/cociweb/lawn-mower-card/issues/608)) ([584e19f](584e19f))
* use corrent branch name in release workflow ([bd87a10](bd87a10))
* Use default lit element in postcss-lit ([0828c08](0828c08))
* wrap actions ([denysdovhan#208](https://github.com/cociweb/lawn-mower-card/issues/208)) ([9003941](9003941))

### Features

* Add @semantic-release/git for updating version in the repo ([4fa126d](4fa126d))
* add ability to combine attribute and entity_id in stats ([e9d8667](e9d8667))
* add image entities as map entities ([15353d3](15353d3))
* Add Japanese Translation ([denysdovhan#719](https://github.com/cociweb/lawn-mower-card/issues/719)) ([bcba901](bcba901))
* Add norsk nynorsk (Norwegian)  ([denysdovhan#199](https://github.com/cociweb/lawn-mower-card/issues/199)) ([73288b6](73288b6))
* Add romanian language ([denysdovhan#242](https://github.com/cociweb/lawn-mower-card/issues/242)) ([a5096ab](a5096ab))
* Add semantic release ([22ef139](22ef139))
* Add Traditional Chinese ([denysdovhan#196](https://github.com/cociweb/lawn-mower-card/issues/196)) ([c1ad452](c1ad452))
* add translation to simplified chinese ([denysdovhan#321](https://github.com/cociweb/lawn-mower-card/issues/321)) ([f4b50d3](f4b50d3))
* Add Vietnamese ([denysdovhan#203](https://github.com/cociweb/lawn-mower-card/issues/203)) ([50e5fe6](50e5fe6))
* Added brazilian portuguese language support ([denysdovhan#336](https://github.com/cociweb/lawn-mower-card/issues/336)) ([7d9f04f](7d9f04f))
* Added Catalan translation ([denysdovhan#190](https://github.com/cociweb/lawn-mower-card/issues/190)) ([34de65a](34de65a))
* Added finnish translation ([denysdovhan#173](https://github.com/cociweb/lawn-mower-card/issues/173)) ([e6fc812](e6fc812))
* Added lithuanian translation ([denysdovhan#215](https://github.com/cociweb/lawn-mower-card/issues/215)) ([f35cbe2](f35cbe2))
* Default button actions overrides ([denysdovhan#183](https://github.com/cociweb/lawn-mower-card/issues/183)) ([1ac4d93](1ac4d93))
* Fix color compatibility and add templates ([denysdovhan#353](https://github.com/cociweb/lawn-mower-card/issues/353)) ([4a03d0d](4a03d0d))
* **i18n:** add actions_array warn in Ukrainan ([ad05f3c](ad05f3c))
* New translations added for ES. ([denysdovhan#271](https://github.com/cociweb/lawn-mower-card/issues/271)) ([690fb86](690fb86))
* print version in console ([0a7e447](0a7e447))
* provide value inside value_template ([7a44cc5](7a44cc5))
* run semantic-release on Ci ([c13cb7b](c13cb7b))
* Updated Ukrainian translation ([denysdovhan#264](https://github.com/cociweb/lawn-mower-card/issues/264)) ([fd218b0](fd218b0))

### BREAKING CHANGES

* `actions` are replaced with `shortcuts`

Co-authored-by: Denys Dovhan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

7 participants