Skip to content
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

Updating node to v16 - armv6 error #3005

Closed
athal7 opened this issue Nov 5, 2021 · 13 comments
Closed

Updating node to v16 - armv6 error #3005

athal7 opened this issue Nov 5, 2021 · 13 comments
Labels

Comments

@athal7
Copy link

athal7 commented Nov 5, 2021

# Fatal error in , line 0
# Liftoff bailout should not happen. Cause: Armv6 not supported

Originally posted in #3002 (comment)

@Jdemuren
Copy link

Jdemuren commented Nov 9, 2021

Same issue here. (raspberry pi Zero W)

@athal7
Copy link
Author

athal7 commented Nov 10, 2021

@pietje63

@pietje63
Copy link

pietje63 commented Nov 10, 2021

To add to this discussion
Same issue here, also Pi zero

  • no issue on update of node (via hb-config or hb-service)
  • no issue on update of npm (8.1.3)
  • no issue on rebuilding
    issue arises on restart of Homebridge after node update

Getting back to old node is possible (sudo hb-service update-node 14.18.1) to run it again, though support drops (also by plugins)

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Dec 11, 2021
@EnhancedMind
Copy link

EnhancedMind commented Dec 11, 2021

using --no-expose-wasm as node argument did the trick for me. The command instead of node . is node --no-expose-wasm .

@github-actions github-actions bot removed the stale label Dec 12, 2021
@elumspe
Copy link

elumspe commented Dec 15, 2021

using --no-expose-wasm as node argument did the trick for me. The command instead of node . is node --no-expose-wasm .

Where should we put this parameter?

@napdan
Copy link

napdan commented Dec 17, 2021

Same question here ¯_(ツ)_/¯

@EnhancedMind
Copy link

EnhancedMind commented Dec 18, 2021

using --no-expose-wasm as node argument did the trick for me. The command instead of node . is node --no-expose-wasm .

Where should we put this parameter?

I guess you start your code by typing node . or node index.js or something like that into your command line
so instead type node --no-expose-wasm . or node --no-expose-wasm index.js

However I should note that not everything was working. For example, I uset it for discord bot and the bot couldn't play audio in voice channels. However, if I used the --no-expose-wasm on windows it worked fine, so this might be the architecture problem. And no errors returned during that.

@Haxim
Copy link

Haxim commented Dec 24, 2021

using --no-expose-wasm as node argument did the trick for me. The command instead of node . is node --no-expose-wasm .

Where should we put this parameter?

I edited /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/hb-service.js and changed the first line
#!/usr/bin/env node
to
#!/usr/bin/env -S node --no-expose-wasm

Depending on how you start homebridge, you may need to make the same edit to /usr/local/bin/homebridge as well

AntonioMeireles added a commit to AntonioMeireles/homebridge-vieramatic that referenced this issue Jan 21, 2022
- of note:
  - hap-nodejs 0.9.8 -> 0.10.0
  - homebridge 1.3.9 -> 1.4.0

 as they fix homebridge/homebridge#3005 /
 homebridge/HAP-NodeJS#919
 which hit us in #88

Signed-off-by: António Meireles <antonio.meireles@reformi.st>
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jan 24, 2022
@github-actions
Copy link

This issue has been closed as no further activity has occurred.

@superevr
Copy link

superevr commented Feb 1, 2022

I edited /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/hb-service.js and changed the first line
#!/usr/bin/env node
to
#!/usr/bin/env -S node --no-expose-wasm

This worked for me, but was overwritten in the next update. Wouldn't mind seeing this issue re-opened.

@dlewanda
Copy link

dlewanda commented Feb 6, 2022

My guess here is that we're boned on using official builds of Node.js with the Pi Zero per this link. I'm dropping back to 14.9.0 for now to see if that will get me where I need to be and decide whether to shell out for a Pi with a different version of ARM by the time Node.js v14 is dropped in April 2023.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants