Giter Club home page Giter Club logo

Comments (14)

matt8707 avatar matt8707 commented on June 3, 2024

Have you tried rebuilding? Wait for it to build on your system

screen

from ha-fusion.

tomerbs avatar tomerbs commented on June 3, 2024

Yes, I'm on version 2023.12.4
Are there any additional prerequisites I need to install?
I'm trying to rebuild it and will update

from ha-fusion.

matt8707 avatar matt8707 commented on June 3, 2024

Nope, if you rebuild it should pull latest from https://github.com/matt8707/ha-fusion and haos builds the image

from ha-fusion.

tomerbs avatar tomerbs commented on June 3, 2024

When trying to rebuild I've got this error:
image

from ha-fusion.

matt8707 avatar matt8707 commented on June 3, 2024

run ha supervisor logs and post the errors here

from ha-fusion.

tomerbs avatar tomerbs commented on June 3, 2024

This is the log:
[core-ssh ~]$ ha supervisor logs
2:13:15 PM [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.

[email protected]
[email protected]

Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.

vite v5.0.10 building SSR bundle for production...

transforming...

2:13:49 PM [vite-plugin-svelte] /rootfs/node_modules/svelecte/src/components/Control.svelte:96:0 A11y:

with mousedown handler must have an ARIA role

94: </script>
95:
96: <div class="sv-control" class:is-active={$hasFocus} class:is-disabled={disabled}
^
97: on:mousedown={focusControl}
98: >

2:13:49 PM [vite-plugin-svelte] /rootfs/node_modules/svelecte/src/components/Dropdown.svelte:239:6 A11y: visible, non-interactive elements with an on:click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as or might be more appropriate. See https://svelte.dev/docs/accessibility-warnings#a11y-click-events-have-key-events for more details.

237: {#if inputValue && creatable && !maxReached}
238:


239: <div class="creatable-row" on:click={dispatch('select', inputValue)} on:mouseenter={dispatch('hover', listIndex.last)}
^
240: class:active={currentListLength == dropdownIndex}
241: class:is-disabled={alreadyCreated.includes(inputValue)}

2:13:49 PM [vite-plugin-svelte] /rootfs/node_modules/svelecte/src/components/Dropdown.svelte:239:6 A11y:

with click, mouseenter handlers must have an ARIA role

237: {#if inputValue && creatable && !maxReached}
238:


239: <div class="creatable-row" on:click={dispatch('select', inputValue)} on:mouseenter={dispatch('hover', listIndex.last)}
^
240: class:active={currentListLength == dropdownIndex}
241: class:is-disabled={alreadyCreated.includes(inputValue)}

2:13:49 PM [vite-plugin-svelte] /rootfs/node_modules/svelecte/src/components/Dropdown.svelte:174:0 A11y:

with mousedown handler must have an ARIA role

172:
173: {#if isMounted && renderDropdown}
174: <div class="sv-dropdown" class:is-virtual={virtualList} aria-expanded={$hasDropdownOpened}
^
175: on:mousedown|preventDefault
176: >

2:13:49 PM [vite-plugin-svelte] /rootfs/node_modules/svelecte/src/components/Item.svelte:19:0 A11y:

with mousedown handler must have an ARIA role

17:
18: {#if item.$isGroupHeader}
19: <div class="optgroup-header" on:mousedown|preventDefault>{item.label}


^
20: {:else}
21: <div class="sv-item"

βœ“ 363 modules transformed.

rendering chunks...

2:14:17 PM [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no exports condition for svelte.

[email protected]
[email protected]

Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.

vite v5.0.10 building for production...

transforming...

npm ERR! path /rootfs
npm ERR! command failed
npm ERR! signal SIGKILL
npm ERR! command sh -c vite build

npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-12-26T14_13_03_480Z-debug-0.log

Removing intermediate container 2105ce87e637

23-12-26 16:19:51 INFO (SyncWorker_2) [supervisor.docker.manager] Restarting homeassistant
23-12-26 16:20:14 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
23-12-26 16:20:48 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
23-12-26 16:20:48 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to NOT_RUNNING
23-12-26 16:20:49 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
23-12-26 16:20:50 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
23-12-26 16:20:56 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/matt8707/addon-ha-fusion repository
23-12-26 16:20:56 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
23-12-26 16:20:56 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
23-12-26 16:20:57 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
23-12-26 16:20:57 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
23-12-26 16:21:04 INFO (MainThread) [supervisor.store] Loading add-ons from store: 73 all - 0 new - 0 remove
23-12-26 16:21:04 INFO (MainThread) [supervisor.store] Loading add-ons from store: 73 all - 0 new - 0 remove
23-12-26 16:21:38 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to STARTING
23-12-26 16:21:46 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to RUNNING
23-12-26 16:21:46 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
23-12-26 16:21:54 ERROR (SyncWorker_4) [supervisor.docker.manager] Image 65f67727/aarch64-addon-ha_fusion:2023.12.4 does not exist for addon_65f67727_ha_fusion
23-12-26 16:22:17 ERROR (SyncWorker_5) [supervisor.docker.manager] Image 65f67727/aarch64-addon-ha_fusion:2023.12.4 does not exist for addon_65f67727_ha_fusion
23-12-26 16:22:33 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from core_ssh

from ha-fusion.

tomerbs avatar tomerbs commented on June 3, 2024

I forgot to mention this is a fresh install of HA on RP3.
I tried to clear the browser cache and rebuild the add-on again and this time I've got this error:
image

from ha-fusion.

matt8707 avatar matt8707 commented on June 3, 2024

There's an error when building

npm ERR! path /rootfs
npm ERR! command failed
npm ERR! signal SIGKILL
npm ERR! command sh -c vite build
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-12-26T14_13_03_480Z-debug-0.log
Removing intermediate container 2105ce87e637

can you run

cat /root/.npm/_logs/2023-12-26T14_13_03_480Z-debug-0.log

from ha-fusion.

tomerbs avatar tomerbs commented on June 3, 2024

[core-ssh ~]$ cat /root/.npm/_logs/2023-12-26T14_13_03_480Z-debug-0.log
cat: can't open '/root/.npm/_logs/2023-12-26T14_13_03_480Z-debug-0.log': No such file or directory

from ha-fusion.

matt8707 avatar matt8707 commented on June 3, 2024

Okay, I have a rpi3 around here somewhere so I can test later

from ha-fusion.

tomerbs avatar tomerbs commented on June 3, 2024

After Rebuild failed and system rebooted, I tried to run the add-on again and now get this error:
image

from ha-fusion.

matt8707 avatar matt8707 commented on June 3, 2024

Yes, the image is removed when build fails here Removing intermediate container 2105ce87e637

from ha-fusion.

matt8707 avatar matt8707 commented on June 3, 2024

I couldn't build it either.. so I've moved the build stage to github, try 2023.12.5

https://github.com/matt8707/ha-fusion/releases/tag/2023.12.5

from ha-fusion.

tomerbs avatar tomerbs commented on June 3, 2024

Ok, After I updated to version 2023.12.5 it now working.
Thanks.

from ha-fusion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.