-
-
Notifications
You must be signed in to change notification settings - Fork 623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn install fails on Raspberry Pi because turbo dropped arm support #5164
Comments
Nice... Semver isn't a thing with them apparently. I'm afraid I can't do anything about this for now, unless someone figures out a workaround. |
👋 Hey @darkbasic! Thanks for opening an issue! It doesn't look like you provided a logfile though. While not strictly necessary for every issue, having a driver log is required to diagnose most issues. Please consider uploading a logfile that captures your problem. |
Can't we downgrade the version and pin it? |
That version had other issues, so a downgrade will require a bunch of configuration changes I'm not able to do on mobile. |
Maybe we can fork it and revert that commit until you will find some time to migrate to a better library? I can look into it and make a PR if you want. |
Making things worse my main development workstation is ppc64le, deprecated as well. |
If you want to look into it, I'd rather go back to 1.4.x. There should be a couple of commits to config changes (mainly relative paths outside of the package subdirectories) which are necessary for caching to work properly. When I'm back from paternity leave, I'll check whether I'll be sticking with turborepo with a workaround or switch to something else. |
Congrats! I'll have a look at what I can hack to make it work in the meantime and let you know if I need any help. |
I've tried a frankenstein turbo but I didn't manage to successfully build it, so I've just pinned 1.4.7 and I finally managed to build node-zwave-js on my Raspberry Pi 2:
After pinning
Unfortunately running If I don't link |
I haven't had a good experience with linking node-zwave-js into zwave-js-ui. What does work is packing and installing the packed tarballs, but this has two drawbacks:
|
I've made the tarballs, but how am I supposed to use them in zwave-js-ui?
|
Uhh shit I linked the wrong command. |
Unfortunately I still get the very same error. |
That is strange. I added that flag specifically for this error. Maybe |
|
Can you take a look at the zwave-js.tgz contents? The package.json in there should reference the other tarballs using absolute paths. |
They are absolute paths indeed, which got me puzzled... |
There is a far bigger downside with this approach: whenever you package new tarballs yarn will still use the old cached tarballs. To work it around you will have to yarn link used to work well, would you be interested in a bisect to find out when it stopped working? So we could hopefully fix it. |
Sure. Last time I tried, it didn't work because node-zwave-js and zwave-js-ui used different versions of the same package. |
That was always the case, but it's usually just two packages and it's as easy to fix as pinning them in zwave-js-ui. |
Is your problem within Home Assistant (Core or Z-Wave JS Integration)?
NO, my problem is NOT within Home Assistant or the ZWave JS integration
Is your problem within Z-Wave JS UI (formerly ZwaveJS2MQTT)?
NO, my problem is NOT within Z-Wave JS UI
Checklist
I have checked the troubleshooting section and my problem is not described there.
I have read the changelog and my problem was not mentioned there.
Describe the bug
turbo recently dropped its linux_arm target (vercel/turborepo#1903) and thus yarn install fails on the Raspberry Pi:
Device information
No response
How are you using
node-zwave-js
?zwave-js-ui
(formerlyzwavejs2mqtt
) Docker image (latest)zwave-js-ui
(formerlyzwavejs2mqtt
) Docker image (dev)zwave-js-ui
(formerlyzwavejs2mqtt
) Docker manually built (please specify branches)ioBroker.zwave2
adapter (please specify version)HomeAssistant zwave_js
integration (please specify version)pkg
node-red-contrib-zwave-js
(please specify version, double click node to find out)Which branches or versions?
version:
node-zwave-js
branch: git master (1989ece)Did you change anything?
no
If yes, what did you change?
No response
Did this work before?
Yes (please describe)
If yes, where did it work?
Older versions did work on the pi
Attach Driver Logfile
Cannot attach driver log
The text was updated successfully, but these errors were encountered: