We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I include the following code in a .js file, I get the following RESULT
const algoliasearch = require("algoliasearch"); const algoliaClient = algoliasearch( process.env.ALGOLIA_APP_ID, process.env.ALGOLIA_APP_SECRET, );
RESULT: TypeError: algoliasearch is not a function
TypeError: algoliasearch is not a function
All
5.7.0
No response
The text was updated successfully, but these errors were encountered:
Hello, If you look at the example in the doc, you need to use:
import { algoliasearch } from "algoliasearch";
or
const { algoliasearch } = require("algoliasearch");
Sorry, something went wrong.
No branches or pull requests
Description
When I include the following code in a .js file, I get the following RESULT
RESULT:
TypeError: algoliasearch is not a function
Client
All
Version
5.7.0
Relevant log output
No response
The text was updated successfully, but these errors were encountered: