yossTheDev / removerized

🖼️ Effortlessly Remove Image Backgrounds with AI - 🆓 Free & Limitless with 🛩️ Offline Support
https://removerized.pages.dev
GNU General Public License v3.0
537 stars 66 forks source link

Fails to process an image #2

Open Thunderstr1k3 opened 6 months ago

Thunderstr1k3 commented 6 months ago

Hi,

I've just cloned your repo and did npm install and npm run dev. However, during the compilation it emits a warning

./components/editor.tsx
Attempted import error: '@imgly/background-removal' does not contain a default export (imported as 'imglyRemoveBackground').

and when attempting to process an image, I face the following runtime error: "TypeError: _imgly_background_removal__WEBPACK_IMPORTED_MODULE_3__["default"] is not a function"

Any clue what goes wrong here?

Thx in advance

yossTheDev commented 6 months ago

Hi, could you tell me which version of Node and npm you are using? Maybe it's because of this, I just reinstalled the project using Node 21 and YARN 4.0 and everything seems fine