question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HACS Page Blank: Unexpected token 'export'

See original GitHub issue

Installation details

Description Value
Chrome 89.04

System Health details

System Health

version core-2021.4.3
installation_type Home Assistant OS
dev false
hassio true
docker true
virtualenv false
python_version 3.8.7
os_name Linux
os_version 5.4.94
arch x86_64
timezone America/Los_Angeles
Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 1491
Installed Version 1.11.3
Stage running
Available Repositories 776
Installed Repositories 1
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 5.11
update_channel stable
supervisor_version supervisor-2021.03.9
docker_version 19.03.13
disk_total 30.8 GB
disk_used 3.6 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons ESPHome (1.16.2), Almond (1.1.2), Spotify Connect (0.8.2), File editor (5.2.0), Terminal & SSH (9.1.0)
Lovelace
dashboards 1
resources 0
mode auto-gen

Checklist

Describe the issue

Hi, I’ve been having issues with the latest HACS/Homeassistant. I’ve tried installing from scratch with the latest version on both hass os and the docker containers. Both have the same errors - Uncaught SyntaxError: Unexpected token 'export' e.b7f0888b.js:1750. Both lead to blank pages.

I’ve tried other fixes such as unregistering the js worker, but they haven’t led to any success. Thank you for the support, and the neat project.

Steps to reproduce

  1. Install Homeassistant via hass os or dockerfiles
  2. Install HACS via the instructions
  3. Enable Integration
  4. Restart Server, clear caches, reboot hass os just in case
  5. Attempt to view the HACS page

Screenshots

https://i.imgur.com/rNjhjOc.png

Here’s the error I’m seeing: Uncaught SyntaxError: Unexpected token 'export' e.b7f0888b.js:1750

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
monik3rcommented, Apr 19, 2021

I’ve moved over to installing on a raspberry pi instead of running with KVM. Things seem to work correctly, so I’ll close this for now. Thanks for the neat project!

0reactions
monik3rcommented, Apr 19, 2021

Hi, just wanted to check on this. It’d be cool to be able to use HACS. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Unexpected Token Export - javascript - Stack Overflow
The problem was that I was changing my code from non-modules to modules and I forgot to delete the imported script file. My...
Read more >
SyntaxError: Unexpected token 'export' · Issue #84 - GitHub
Hello, I have used old version and it run well until new version come out. I follow instruction to install new version, however...
Read more >
Lovelace: Bar Card - Home Assistant Community
So I recently updated Home Assistant (0.110.1), HACS (1.0.1), and bar-card (3.1.6) but ... Uncaught SyntaxError: Unexpected token 'export'.
Read more >
How do you set up Enphase Envoy in Home Assistant? Home ...
Home Assistant finds the Envoy, but gives an "unexpected error" during ... says the user name is envoy and the password is blank....
Read more >
syntax error near unexpected token `newline - 华为云
The message syntax error near unexpected token `newline' is displayed after the git add command is executed.The command contains a diamond ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found