Closed LambdaSoft closed 3 years ago
I can't install the addon in Home Assistant Supervised, core-2021.7.2 version.
Error log:
21-07-18 13:34:30 ERROR (SyncWorker_0) [supervisor.docker.addon] Can't build f4f71350/amd64-addon-ewelink_smart_home_slug:1.0.0: The command '/bin/sh -c yarn --production' returned a non-zero code: 1 21-07-18 13:34:30 ERROR (SyncWorker_0) [supervisor.docker.addon] Build log: Step 1/14 : FROM node:14-slim ---> 5b5334a1033b Step 2/14 : RUN mkdir -p /workspace/node_modules ---> Running in e2b24e15daf6 Removing intermediate container e2b24e15daf6 ---> c51cee53e8d8 Step 3/14 : COPY ["./dist", "./package.json", "/workspace/"] ---> 94dfc62728bd Step 4/14 : WORKDIR /workspace ---> Running in ea8ebe207ec6 Removing intermediate container ea8ebe207ec6 ---> 24bff83095d1 Step 5/14 : RUN yarn --production ---> Running in 63b837c85e5c yarn install v1.22.5 info No lockfile found. [1/4] Resolving packages... error Couldn't find package "iconv-lite@0.4.24" required by "body-parser@1.19.0" on the "npm" registry. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. Error: Couldn't find package "iconv-lite@0.4.24" required by "raw-body@2.4.0" on the "npm" registry. at MessageError.ExtendableBuiltin (/opt/yarn-v1.22.5/lib/cli.js:721:66) at new MessageError (/opt/yarn-v1.22.5/lib/cli.js:750:123) at PackageRequest.<anonymous> (/opt/yarn-v1.22.5/lib/cli.js:36539:17) at Generator.throw (<anonymous>) at step (/opt/yarn-v1.22.5/lib/cli.js:310:30) at /opt/yarn-v1.22.5/lib/cli.js:323:13 at processTicksAndRejections (internal/process/task_queues.js:95:5) Removing intermediate container 63b837c85e5c
I can't install the addon in Home Assistant Supervised, core-2021.7.2 version.
Error log: