"export 'connectSortBy' was not found in 'instantsearch.js/es/connectors'
See original GitHub issueimport {Component, forwardRef, Inject, Input, OnInit} from '@angular/core';
import {BaseWidget, NgAisInstantSearch} from 'angular-instantsearch';
import {connectSortBy} from 'instantsearch.js/es/connectors';
@Component({
selector: 'app-ai-mdb-short-by',
templateUrl: './ai-mdb-short-by.component.html',
styleUrls: ['./ai-mdb-short-by.component.scss']
})
export class AiMdbShortByComponent extends BaseWidget implements OnInit {
public state: {
options: object[];
currentRefinement: string;
hasNoResults: boolean;
refine: any;
widgetParams: object;
};
constructor(
@Inject(forwardRef(() => NgAisInstantSearch)) public instantSearchParent,
) {
super('SortBy');
}
ngOnInit() {
this.createWidget(connectSortBy, {
// instance options
items: [
{label: 'Featured', value: 'instant_search'},
],
});
super.ngOnInit();
}
}
ERROR in ./src/app/pages/admin/_admin-shared/admin-class/ai-mdb-short-by/ai-mdb-short-by.component.ts 11:26-39
"export 'connectSortBy' was not found in 'instantsearch.js/es/connectors'
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Export 'createInstantSearch' was not found in 'vue-instantsearch'
Heloo guys, I have a problem regarding this error, when using Version 3.0.3. Currently I have no errors using version “vue-instantsearch”: ...
Read more >@types/react-instantsearch-native - npm
TypeScript definitions for react-instantsearch-native. ... from 'react-instantsearch-core'; export { connectSortBy } from ...
Read more >Why is Vue algolia instant search producing"Unexpected ...
Unexpected token 'export' Open: internal/modules/cjs/loader.js Unable to locate file source. I'm fairly certain this is due to running my vue ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Have you passed
showMore: true
, as well as the limit @Karman40 ?Thanks , I don’t know why I’m so careless today 😦