Error: regeneratorRuntime is not defined
See original GitHub issueDescribe 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
Issue Analytics
- State:
- Created a year ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
How to fix regeneratorRuntime is not defined?
I have ran into a problem, the error is regeneratorRuntime is not defined while working with React and Parcel bundler.
Read more >Babel 6 regeneratorRuntime is not defined - Stack Overflow
This error is caused when async/await functions are used without the proper Babel plugins. As of March ...
Read more >ReferenceError regeneratorRuntime is not defined · Issue #9849
I'm building an SSR template, and when I use @babebl/register and then execute webpack (config), the system reported an error.
Read more >Parcel, how to fix the `regeneratorRuntime is not defined` error
I run into this problem in a project using Babel as soon as I added an async function, but the problem is the...
Read more >Blank Admin Page: regeneratorRuntime is not defined (babel?)
we are getting blank admin page and error in browser: Uncaught ReferenceError: regeneratorRuntime is not defined
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
same issue… waiting for v2.6.3… or downgrading…
Me too