-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm run docs:build -> [vitepress] spawn git EAGAIN #4008
Comments
Please provide minimal reproducible example and output of |
git version 2.44.0 |
i don't think it was caused by ... |
are you able to run this command from where you're running docs:build: git log -1 --pretty="%ai" path/to/your/navicat-charts-viewer-win.md |
[pkg].md ---
layout: doc
---
<script setup>
import { useData } from 'vitepress'
import { onMounted } from 'vue'
const { params } = useData()
onMounted(() => {
document.title = params.value.title + ' For Windows'
})
</script>
<h1>{{ $params.title }} For Windows</h1>
::: info
{{ $params.lu }}[our mail](mailto:xxx@gmail.com)
:::
download URL:
<a v-for="dl in $params.download" :href="dl.url" style="margin-left: 20px;" target="_blank">
{{ dl.type === 'bdp' ? 'A' : 'B' }}
</a>
PWD:
<span v-for="dl in $params.download" style="margin-left: 20px;">
{{ dl.type === 'bdp' ? 'A(' + dl.pwd + ')' : 'B(' + dl.pwd + ')' }}
</span>
<!-- @content -->
[pkg].path.hs export default {
paths() {
return [{"params":{"pkg":"zettlr-win","title":"Free xxx","lu":"2024-06-12 18:02","download":[{"type":"bdp","url":"https://xxx","pwd":"95a"},{"type":"quk","url":"https://xxx","pwd":"Uxm"}]}, ... ] |
I've pushed a fix, but I'm not sure if it will work. You can try building vitepress locally and using it or maybe wait for next release and give it a try. |
Seems like you're trying to use clean urls (urls without .html) but haven't set cleanUrls: true in your config. Nor your server is handling that properly. It's returning 404 without .html. Where/how have you hosted your site? |
vercal ~ ok,i'll set this prop and have a try. very thanks. |
On vercel, you need to set it inside vercel.json too: https://vercel.com/docs/projects/project-configuration#cleanurls |
Describe the bug
Reproduction
Expected behavior
System Info
Additional context
Validations
The text was updated successfully, but these errors were encountered: