vitepress
vitepress copied to clipboard
打包后没有index.html页面
Describe the bug
为什么我使用了自动解析文件的方式生成导航链接和侧边栏,开发时没任何问题,最终打包却没有入口文件了。这是怎么回事?
Reproduction
1
Expected behavior
1
System Info
1
Additional context
1
Validations
- [X] Check if you're on the latest VitePress version.
- [X] Follow our Code of Conduct
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Please share a minimal reproducible example using a git repo or https://vitepress.new
现在我没有使用文件读取的方式配置自动生成路径了,但是打包时总是不能生成index.html,我按照规范创建了此文件的!现在我真的没有办法了。期待你们的回复与帮助解决此问题
打包总是提示信息如下: vitepress v1.4.0
✓ building client + server bundles... /d/Program Files/nodejs/npm: line 65: 977 Segmentation fault "$NODE_EXE" "$NPM_CLI_JS" "$@"
总之,每次都无法生成 index.html,我的所有配置都是正常的。打包过程也没报任何错误,为什么会这样呢。我现在属实无奈,好不容易花了一天时间把笔记整理好,准备打包发布了,结果打包不了,太尴尬了~我尝试很多次了,并且也无数次修改、优化配置,但是没有效果
@ZhouYu2156
Did you try this before? This is the first result after searching Google base on the npm: line 65: 977 Segmentation fault message you given.
https://stackoverflow.com/questions/41813093/npm-causes-segmentation-faults