Skip to content

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

@alitarraf

Description

@alitarraf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions