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"
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
Hi,
I've just cloned your repo and did npm install and npm run dev. However, during the compilation it emits a warning
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