imgly / background-removal-js

Remove backgrounds from images directly in the browser environment with ease and no additional costs or privacy concerns. Explore an interactive demo.
https://img.ly/showcases/cesdk/web/background-removal/web
GNU Affero General Public License v3.0
5.7k stars 357 forks source link

No Available Backend Found #45

Open ashton781227 opened 1 year ago

ashton781227 commented 1 year ago

Hi, I copied your react native example, but I'm gettting this error, not sure where I'm going wrong? Failed to create session: Error: no available backend found. Please can you assist

DanielHauschildt commented 1 year ago

I am not sure to which example you are referring to. There is no react-native example.

ashton781227 commented 1 year ago

Appologies, Meant react. When using V1.0.9, it runs perfectly fine, but on 1.1.1, I get the error "no available backend found", keeping everything the same just switching versions on the react example you provided.

PanYX commented 12 months ago

I also encountered the same problem. I was running the web-examples/create-react-app demo and the error reported was filed to create session: Error: no available backend found. ERR: [wasm] Error: Aborted( LinkError: WebAssembly.instantiate(): Import #37 module="a" function="L" error: function import requires a callable). Build with -sASSERTIONS for more info.. Please check if the publicPath is set correctly. Is there any solution to the problem?