You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Developing on an Ubuntu system, I'm getting broken builds when using eval- based options for the devtool source maps. Same issue on Ubuntu 20, 22, and on a VSCode devcontainer hosted on both systems. Tested across two VMs (one running Ubuntu 20.04, another VM running Ubuntu 24.04)
Interestingly enough, the exact same code, run in a VSCode devcontainer on a Windows system builds OK with the eval- options.
For example: devtool: "cheap-module-source-map" works fine devtool: "eval-cheap-module-source-map" generates a broken build.
Broken builds are typically failing with an error about const variables being redeclared.
A diff for one of the main files in the build matches between the Windows and Ubuntu machines with non-eval source maps.
A diff for the same file between both machines using eval- source maps generates a pretty significant diff, but I'm not well enough versed to be able to parse it enough to tell what's going on.
System Info
Details
Developing on an Ubuntu system, I'm getting broken builds when using
eval-
based options for thedevtool
source maps. Same issue on Ubuntu 20, 22, and on a VSCode devcontainer hosted on both systems. Tested across two VMs (one running Ubuntu 20.04, another VM running Ubuntu 24.04)Interestingly enough, the exact same code, run in a VSCode devcontainer on a Windows system builds OK with the
eval-
options.For example:
devtool: "cheap-module-source-map"
works finedevtool: "eval-cheap-module-source-map"
generates a broken build.Broken builds are typically failing with an error about
const
variables being redeclared.A
diff
for one of the main files in the build matches between the Windows and Ubuntu machines with non-eval source maps.A
diff
for the same file between both machines usingeval-
source maps generates a pretty significant diff, but I'm not well enough versed to be able to parse it enough to tell what's going on.home-assistant/frontend#23231 has more information on the issue I'm seeing and contains the diff files.
Reproduce link
https://github.com/home-assistant/frontend
Reproduce Steps
Looks like something that may be difficult to reproduce as nobody else working on the Home Assistant project has been able to reproduce it.
https://developers.home-assistant.io/docs/frontend/development has details for the Home Assistant project and setting up a full development environment. It's a little tricky as you need both the Python backend as well as the frontend repository.
The text was updated successfully, but these errors were encountered: