Coder Social home page Coder Social logo

0.42.1. CompileError: WebAssembly.compile(): Compiling function #66 failed: Wasm SIMD unsupported @+5368 (older version works!) about homebridge-homeconnect HOT 7 CLOSED

ZyroBlue avatar ZyroBlue commented on August 27, 2024
0.42.1. CompileError: WebAssembly.compile(): Compiling function #66 failed: Wasm SIMD unsupported @+5368 (older version works!)

from homebridge-homeconnect.

Comments (7)

thoukydides avatar thoukydides commented on August 27, 2024 1

It looks like other projects are seeing the same issue:
https://community.n8n.io/t/error-simd-unsupported-on-docker-n8n-container/42155

… again with undici looking like the culprit.

from homebridge-homeconnect.

ZyroBlue avatar ZyroBlue commented on August 27, 2024 1

fixed for me. Thanks a lot!

from homebridge-homeconnect.

thoukydides avatar thoukydides commented on August 27, 2024

I cannot reproduce that problem on either my development or production setup.

The only differences between v0.41.1 and v0.41.2 are the project dependencies. Only one of those updated dependencies is used at runtime: undici updated from 6.6.2 to 6.7.0. Its changelog mentions some wasm-related changes, so I suspect that might be the cause.

The only other possibly relevant change is that the version of typescript used to compile this project was updated from 5.3.3 to 5.4.2. However, I don’t see how that could trigger a wasm error since it still only outputs JavaScript.

Of course the problem could be caused by an indirect dependency…

This is going to have to wait until I have time to setup a Raspberry Pi with a configuration sufficiently similar to yours to reproduce the error.

What Raspberry Pi model are you using? Since the error is about SIMD support the problem may be specific to a particular CPU version.

How are you installing/running Homebridge, e.g. native install via npm or a Docker image?

from homebridge-homeconnect.

ZyroBlue avatar ZyroBlue commented on August 27, 2024

I figured it wasn’t your plugin specifically, because the changelog implied no such change. But I had nothing else to go on other than “downgrade worked”. Sorry.

HB runs natively on Raspberry Pi Zero W. I use the HB repository install.

from homebridge-homeconnect.

thoukydides avatar thoukydides commented on August 27, 2024

This is almost certainly due to nodejs/undici#2934, which is fixed by nodejs/undici#2935. Updating to the next undici release should fix it…

from homebridge-homeconnect.

sergey-sc avatar sergey-sc commented on August 27, 2024

same here. uninstall and then install 0.41.1 helps

from homebridge-homeconnect.

thoukydides avatar thoukydides commented on August 27, 2024

v0.41.3 updates undici from 6.7.0 to 6.7.1, which should remove the requirement for a CPU with SIMD support.

from homebridge-homeconnect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.