Skip to content

Instantly share code, notes, and snippets.

@nunomaduro
Created April 15, 2019 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nunomaduro/5675bc80614cd01866e51c74313a0bd7 to your computer and use it in GitHub Desktop.
Save nunomaduro/5675bc80614cd01866e51c74313a0bd7 to your computer and use it in GitHub Desktop.
Vue warn]: Property or method "searchClient" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
(found in <Root>)
warn @ app.js:68765
warnNonPresent @ app.js:70178
has @ app.js:70223
(anonymous) @ VM153:3
Vue._render @ app.js:71676
updateComponent @ app.js:72192
get @ app.js:72603
Watcher @ app.js:72592
mountComponent @ app.js:72199
./node_modules/vue/dist/vue.common.dev.js.Vue.$mount @ app.js:77169
./node_modules/vue/dist/vue.common.dev.js.Vue.$mount @ app.js:80054
Vue._init @ app.js:73137
Vue @ app.js:73203
./resources/js/app.js @ app.js:80198
__webpack_require__ @ app.js:20
0 @ app.js:80349
__webpack_require__ @ app.js:20
(anonymous) @ app.js:84
(anonymous) @ app.js:87
app.js:68765 [Vue warn]: Invalid prop: type check failed for prop "searchClient". Expected Object, got Undefined
found in
---> <AisInstantSearch>
<Root>
warn @ app.js:68765
assertProp @ app.js:69845
validateProp @ app.js:69772
loop @ app.js:72789
initProps @ app.js:72820
initState @ app.js:72763
Vue._init @ app.js:73125
VueComponent @ app.js:73272
createComponentInstanceForVnode @ app.js:71421
init @ app.js:71252
createComponent @ app.js:74098
createElm @ app.js:74045
createChildren @ app.js:74173
createElm @ app.js:74074
patch @ app.js:74634
Vue._update @ app.js:72071
updateComponent @ app.js:72192
get @ app.js:72603
Watcher @ app.js:72592
mountComponent @ app.js:72199
./node_modules/vue/dist/vue.common.dev.js.Vue.$mount @ app.js:77169
./node_modules/vue/dist/vue.common.dev.js.Vue.$mount @ app.js:80054
Vue._init @ app.js:73137
Vue @ app.js:73203
./resources/js/app.js @ app.js:80198
__webpack_require__ @ app.js:20
0 @ app.js:80349
__webpack_require__ @ app.js:20
(anonymous) @ app.js:84
(anonymous) @ app.js:87
---
app.js:68765 [Vue warn]: Error in data(): "Error: The `searchClient` option is required.
See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
found in
---> <AisInstantSearch>
<Root>
warn @ app.js:68765
logError @ app.js:70024
globalHandleError @ app.js:70019
handleError @ app.js:69979
getData @ app.js:72872
initData @ app.js:72827
initState @ app.js:72766
Vue._init @ app.js:73125
VueComponent @ app.js:73272
createComponentInstanceForVnode @ app.js:71421
init @ app.js:71252
createComponent @ app.js:74098
createElm @ app.js:74045
createChildren @ app.js:74173
createElm @ app.js:74074
patch @ app.js:74634
Vue._update @ app.js:72071
updateComponent @ app.js:72192
get @ app.js:72603
Watcher @ app.js:72592
mountComponent @ app.js:72199
./node_modules/vue/dist/vue.common.dev.js.Vue.$mount @ app.js:77169
./node_modules/vue/dist/vue.common.dev.js.Vue.$mount @ app.js:80054
Vue._init @ app.js:73137
Vue @ app.js:73203
./resources/js/app.js @ app.js:80198
__webpack_require__ @ app.js:20
0 @ app.js:80349
__webpack_require__ @ app.js:20
(anonymous) @ app.js:84
(anonymous) @ app.js:87
app.js:70028 Error: The `searchClient` option is required.
See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/
at new InstantSearch (app.js:21690)
at instantsearch (app.js:21553)
at VueComponent.data (app.js:67969)
at getData (app.js:72870)
at initData (app.js:72827)
at initState (app.js:72766)
at VueComponent.Vue._init (app.js:73125)
at new VueComponent (app.js:73272)
at createComponentInstanceForVnode (app.js:71421)
at init (app.js:71252)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment