You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Vue warn]: Failed to mount component: template or render function not defined.
found in
---> <AlgoliaSearchBox>
<Navbar> at node_modules/@vuepress/theme-default/components/Navbar.vue
<Layout> at node_modules/@vuepress/theme-default/layouts/Layout.vue
<GlobalLayout> at node_modules/@vuepress/core/lib/client/components/GlobalLayout.vue
<Root>
Other relevant information
The error disappears when I build the project and test the search on my local environment. It only happens when running the npm run dev and open the project on http://localhost:8081/
Output of npx vuepress info in my VuePress project:
Environment Info:
System:
OS: macOS 11.2.2
CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
Binaries:
Node: 10.13.0 - ~/.nvm/versions/node/v10.13.0/bin/node
Yarn: yarn install v0.24.6
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.50s. - ~/.yarn/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v10.13.0/bin/npm
Browsers:
Chrome: 89.0.4389.72
Edge: Not Found
Firefox: 86.0
Safari: 14.0.3
npmPackages:
@vuepress/core: 1.8.2
@vuepress/theme-default: 1.8.2
vuepress: ^1.5.3 => 1.8.2
npmGlobalPackages:
vuepress: Not Found
The text was updated successfully, but these errors were encountered:
Bug report
Steps to reproduce
Add Algolia DocSearch config to config.js as told in https://vuepress.vuejs.org/theme/default-theme-config.html#algolia-search.
Run
npm run dev
.What is expected?
This should not throw the error below !
What is actually happening?
Error in console:
Other relevant information
The error disappears when I build the project and test the search on my local environment. It only happens when running the
npm run dev
and open the project on http://localhost:8081/Output of
npx vuepress info
in my VuePress project:Environment Info:
System:
OS: macOS 11.2.2
CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
Binaries:
Node: 10.13.0 - ~/.nvm/versions/node/v10.13.0/bin/node
Yarn: yarn install v0.24.6
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.50s. - ~/.yarn/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v10.13.0/bin/npm
Browsers:
Chrome: 89.0.4389.72
Edge: Not Found
Firefox: 86.0
Safari: 14.0.3
npmPackages:
@vuepress/core: 1.8.2
@vuepress/theme-default: 1.8.2
vuepress: ^1.5.3 => 1.8.2
npmGlobalPackages:
vuepress: Not Found
The text was updated successfully, but these errors were encountered: