Error TS2349: This expression is not callable

Hi, I have the following issues when running $ firebase deploy --only functions:

My index.ts, and my package.json

Would appreciate any help, thanks!

You’re using @types/algoliasearch@3, which is not needed with algoliasearch@4, which you’re using too, so that should be removed.

Also you can replace import * as algoliasearch from 'algoliasearch' with import algoliasearch from 'algoliasearch', since this is a real default import now.

Thanks Haroen. That issue is fixed. However, I still have 7 other errors. I am continuing this conversation in the support email that Brooke provided. Could we meet there?

1 Like