Closed rikbrowning closed 2 years ago
Things work well in official docs. Could you please provide a reproduce repo?
Hello @rikbrowning. Please provide a minimal reproduction using a GitHub repository or codesandbox. Issues marked with need reproduction
will be closed if they have no activity within 3 days.
It seem that this problem appears after Vue3.2 released. I deleted the node_modules
on one of my computer and meet a similar issue. But my project works well on my another computer.
See vue-next issue 4323.
You can temporarily use Vue3.1.5 with Vuepress2.0.0-beta.22 to fix it.
@yuanbug You can try to clear browser cache.
@meteorlxy put together a repro at https://github.com/rikbrowning/vuepress-issue
It seems that you did not provide a 404
layout.
We should throw an error if the necessary layout is missing
The root cause it that there are some version conflicts in your project.
node_modules
package-lock.json
I added a 404 layout.
package-lock
and node_modules
npm i
Still get the same error, which dependencies are causing the issue?
@rikbrowning You are using a different version of @vuepress/plugin-register-components
Bug report
Description
Using vite as my bundler. When I run dev the site builds no issue and navigation is fine. When I run build and try to view the same page I get the following error:
Any idea how I can triage this further or what area to start investigating?
Environment info
vuepress info
: