Closed mjeronimoa closed 2 years ago
Me too, same error
Im use Raspberry Pi 4, previous version works perfect.
I have tried to clone the repository and go back in the history to version 1.2.1, but it is still failing with the same error message.
I've got the same error on Mi Raspberry PI 4, eWeLink Smart Home 1.2.2 Home Assistant 2021.10.2
I've got exactly the same issue on PI 4, eWeLink Smart Home 1.2.2 Home Assistant Core-2021.10.4 Host OS 6.5
Same here HW: RPI 4 eWeLink Smart Home 1.2.2 Home Assistant Core-2021.10.4 Supervisor: 2021.10.0 Host OS 6.5
me too same error
+1 to this one. First use as well. Not a good experience so far.
EDIT: fixed in 1.2.3
It looks like latest Home Assistant Supervisor is missing python and build-essential packages that are needed for the Dockerfile. So i made a new Dockerfile that adds python and build-essential.
# ARG BUILD_FROM
# FROM $BUILD_FROM
FROM node:14-slim
RUN apt-get update || : && apt-get install python -y
RUN apt-get -y install build-essential
RUN mkdir -p /workspace/node_modules
COPY ["./dist", "./package.json", "/workspace/"]
WORKDIR /workspace
RUN yarn --production
COPY ["./node_modules", "/workspace/node_modules/"]
EXPOSE 3000
CMD npm start
Until this is fixed you can temporarily use a fork i made to patch this issue
https://github.com/orbital253/ha-addon
to Developers: A big thanks for the awesome work you do here. Please implement This small patch in your repository
thk your fork works correctly
+1
Same error on RPI4
Thanks @orbital253 ! It’s working now! How the (official) passes in tests ? 🧐🤨
It looks like latest Home Assistant Supervisor is missing python and build-essential packages that are needed for the Dockerfile. So i made a new Dockerfile that adds python and build-essential.
# ARG BUILD_FROM # FROM $BUILD_FROM FROM node:14-slim RUN apt-get update || : && apt-get install python -y RUN apt-get -y install build-essential RUN mkdir -p /workspace/node_modules COPY ["./dist", "./package.json", "/workspace/"] WORKDIR /workspace RUN yarn --production COPY ["./node_modules", "/workspace/node_modules/"] EXPOSE 3000 CMD npm start
Until this is fixed you can temporarily use a fork i made to patch this issue
https://github.com/orbital253/ha-addon
- Installation takes 3 minutes on a Raspberry 4
to Developers: A big thanks for the awesome work you do here. Please implement This small patch in your repository
Thank you for providing us with ideas to solve the problem, and we will fix it as soon as possible.
Same error on OPI zero, but on another HA run on Debain 11 x64 it fine.
try to update v1.2.3
Issued fixed for me. There is no need to use https://github.com/orbital253/ha-addon anymore
When trying to update or fresh install version 1.2.2, I'm getting the following error: The command '/bin/sh -c yarn --production' returned a non-zero code: 1
I'm running Home Assistant SO in a raspberry pi 3