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

TypeError: clarifai__WEBPACK_IMPORTED_MODULE_8___default.a.app is not a constructor #56

Open
alitarraf opened this issue Nov 26, 2020 · 1 comment

Comments

@alitarraf
Copy link

Hi,
I installed clarify with npm install clarifai.
However I get the following error in my project.

  • TypeError: clarifai__WEBPACK_IMPORTED_MODULE_8___default.a.app is not a constructor
    image

  • I have these packages installed
    image

  • Also there is type declaration warning.
    image

  • I am on a windows 10 pro intel machine.

I tried putting curly brackets import {Clarifai} from 'clarifai' , I get an app error.
I tried const Clarifai = require('clarifai');, I get the same webpack error.

Any idea how I can solve this issue?

Thanks

@MattEspoz
Copy link

Were you able to find the solution? I'm having the same problem

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

No branches or pull requests

2 participants