CoolKit-Technologies / ha-addon

Apache License 2.0
253 stars 117 forks source link

Unable to install Home Assistant Addon #148

Open TRIMER opened 3 months ago

TRIMER commented 3 months ago

The command '/bin/sh -c npm install --production --save-exact' returned a non-zero code: 1

eWeLink Smart Home Addon: 1.4.3 Home Assistant: 2024.3.3 Supervisor: 2024.03.1 Operating System: 12.1

DjangoPepper commented 2 months ago

Same for me

rodneye commented 2 months ago

Also getting the same error

`2024-04-29 08:05:02.548 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token 2024-04-29 08:05:19.112 INFO (MainThread) [supervisor.docker.addon] Starting build for f4f71350/aarch64-addon-ewelink_smart_home_slug:1.4.3 2024-04-29 08:05:30.786 ERROR (MainThread) [supervisor.docker.addon] Can't build f4f71350/aarch64-addon-ewelink_smart_home_slug:1.4.3: The command '/bin/sh -c npm install --production --save-exact' returned a non-zero code: 135 2024-04-29 08:05:30.788 ERROR (MainThread) [supervisor.docker.addon] Build log: Step 1/16 : FROM node:14-slim

---> 9769000bc4a1

Step 2/16 : ENV CK_API_ENV=prod

---> Using cache

---> 20292069afdd

Step 3/16 : RUN apt-get update && apt-get install -y python build-essential

---> Using cache

---> 6c50033b3b72

Step 4/16 : RUN mkdir -p /workspace/node_modules

---> Using cache

---> fb2f811fff83

Step 5/16 : COPY ["./dist", "./package.json", "/workspace/"]

---> Using cache

---> 9ca99a6a7552

Step 6/16 : WORKDIR /workspace

---> Using cache

---> c149a914701d

Step 7/16 : RUN npm install --production --save-exact

---> Running in 7934cbc5ff44

Bus error (core dumped)

---> Removed intermediate container 7934cbc5ff44`

andrewlimkk commented 2 months ago

it was ok till 2w ago when it prompted to reload the addon then failed purposely upgraded to latest core but failed too Installation of v1.4.3 on Homeassistant 2024 failed

Failed to install add-on The command ‘/bin/sh -c npm install --production --save-exact’ returned a non-zero code: 1

I’ve even tried to upgrade to the latest HA core as below but doesn’t work too:

Core2024.5.1 Supervisor2024.04.4 Operating System12.2 Frontend20240501.0

andrewlimkk commented 1 month ago

hi, anyone knows how to install this? I think it was working ok before core update to 2024.4? I'm not sure but it did work previously perfectly fine until it said it failed to reload. Then I tried to reinstall, and face this problem

dpozimski commented 1 month ago

have the same issue, can't install it

razarahil commented 2 weeks ago

Same Issue, not working. screenshot-192 168 0 120_8123-2024 06 25-21_10_58