palerdot / vue-speedometer

Vue component library for showing speedometer like gauge using d3

Home Page:https://palerdot.in/vue-speedometer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

query selector is not a function error

xalteropsx opened this issue · comments

function Rt(t18) {
return t18 == null ? Pt : function() {
return this.querySelector(t18);
};
}
vue-speedometer.es.js:312 Uncaught (in promise) TypeError: this.querySelector is not a function
at Comment. (vue-speedometer.es.js:312:17)
at Pe.select (vue-speedometer.es.js:603:34)
at Proxy.renderGauge (vue-speedometer.es.js:3343:135)
at Proxy.mounted (vue-speedometer.es.js:3321:8)
at callWithErrorHandling (runtime-core.esm-bundler.js:155:22)
at callWithAsyncErrorHandling (runtime-core.esm-bundler.js:164:21)
at hook.__weh.hook.__weh (runtime-core.esm-bundler.js:2685:29)
at flushPostFlushCbs (runtime-core.esm-bundler.js:356:32)
at flushJobs (runtime-core.esm-bundler.js:401:9)

Without a reproducible repo/codesandbox, it is not possible to debug build issues. Most likely you may have to include runtimeCompiler as mentioned here - https://vuejs.org/guide/scaling-up/tooling.html#project-scaffolding.

Closing as this is related to project build setup.