Hello everybody, I would like to know if you can shed me some lights on these errors, I am trying to configure the instant search but I can’t get it work.
When I try to use: instantsearch.widgets
it throws me the following error:
Then, if I follow the recommendation of the error, I get the following error:
And the in the package.json
file the type
key is not configured.
What can I do at this point?
My intention is to use the instantsearch
package to present a Proof of concept.
I also tried to require the module and it did not work.
const instantsearch = require('instantsearch.js').default;
// ...skipped by brevity...
console.log('=========>', instantsearch.widgets);
The versions of the packages I am using are:
{
"algoliasearch": "^4.12.1",
"instantsearch.js": "^4.38.1",
}