Closed black-turtle closed 6 months ago
Me too Request help
Hello Guys, I'm trying to install the @imgly/background-removal package (version 1.5.0) using npm install @imgly/background-removal. However, I'm encountering an error message indicating a potential compatibility issue with my current Node.js version.
Solution Use the following methods
import { removeBackground } from "@imgly/background-removal" let firstImg = ref() let lastImg = ref() function removeImgBack() { removeBackground(firstImg.value, {}).then((blob) => { lastImg.value = URL.createObjectURL(blob) }) }
Good catch. I will fix the engine requirements and publish a new version asap
Should be fixed with 1.5.1 which was just published.
Hello Guys, I'm trying to install the
@imgly/background-removal
package (version 1.5.0) usingnpm install @imgly/background-removal
. However, I'm encountering an error message indicating a potential compatibility issue with my current Node.js version.Error Message:
My Environment:
According to the error message, it seems the @imgly/background-removal package requires Node.js version 20.0.0 exactly. Could you please clarify if this is indeed the case or if the package might be compatible with newer Node.js versions like mine (v20.11.1)? If there's any documentation or compatibility information available, it would be very helpful.