mabunixda / node-red-contrib-fronius-solar

MIT License
9 stars 2 forks source link

only compatible with darwin (MacOS)? #21

Open n300home opened 2 years ago

n300home commented 2 years ago

Hi,

Is it possible, that you added x64 platform relevant dependencies since V1.x? I'm unable to update from older 0.x Version due to this npm error.

` 2021-10-13T08:52:19.753Z installieren : node-red-contrib-fronius-solar 1.0.1

2021-10-13T08:52:20.303Z npm install --no-package-lock --global-style --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-fronius-solar@1.0.1 2021-10-13T08:52:46.568Z [err] npm 2021-10-13T08:52:46.569Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/node-red-contrib-fronius-solar/node_modules/chokidar/node_modules/fsevents): 2021-10-13T08:52:46.569Z [err] npm WARN 2021-10-13T08:52:46.569Z [err] notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) 2021-10-13T08:52:46.571Z [err] 2021-10-13T08:52:46.646Z [err] npm ERR! Error while executing: 2021-10-13T08:52:46.646Z [err] npm ERR! /usr/local/addons/redmatic/bin/git ls-remote -h -t https://github.com/mwittig/node-http-digest-client.git 2021-10-13T08:52:46.646Z [err] npm 2021-10-13T08:52:46.647Z [err] ERR! 2021-10-13T08:52:46.647Z [err] npm ERR! /usr/local/addons/redmatic/libexec/git-core/git-remote-https: error while loading shared libraries: libcurl.so.4: wrong ELF class: ELFCLASS64 2021-10-13T08:52:46.647Z [err] npm ERR! 2021-10-13T08:52:46.647Z [err] npm ERR! 2021-10-13T08:52:46.647Z [err] exited with error code: null 2021-10-13T08:52:46.698Z [err] 2021-10-13T08:52:46.698Z [err] npm 2021-10-13T08:52:46.698Z [err] ERR! A complete log of this run can be found in: 2021-10-13T08:52:46.698Z [err] npm ERR! /usr/local/addons/redmatic/var/npm-cache/_logs/2021-10-13T08_52_46_670Z-debug.log 2021-10-13T08:52:46.784Z rc=1 `

Running on Raspi 3B, which is ARM Architecture

mabunixda commented 2 years ago

Hi, sorry missed your issue ... there should no reference to mac :( I am working on a docker container on this stuff, also I am running the extension on a container which runs on x86 architecture...

stefancrain commented 2 years ago

Looking at WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 in the error output is related to the use of fsevents by an upstream dependency. SO 62810078 - . This is only a WARN and is not the cause of your failure.

@n300home to me it looks like your error is with your git setup: npm ERR! /usr/local/addons/redmatic/libexec/git-core/git-remote-https: error while loading shared libraries: libcurl.so.4: wrong ELF class: ELFCLASS64

mabunixda commented 2 years ago

thanks @stefancrain for this pointer. the root problem of @n300home seems to be located in the installation of redmatic which is a homematic addon? do not know about this specialized setup