Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to process an image #2

Open
Thunderstr1k3 opened this issue May 23, 2024 · 1 comment
Open

Fails to process an image #2

Thunderstr1k3 opened this issue May 23, 2024 · 1 comment

Comments

@Thunderstr1k3
Copy link

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants