Closed ciocoa closed 2 years ago
I also had the same problem.
I also had the same problem.
Me too.
At present, the problem is that it is not compatible with the latest version: Please lock the version number: v2.0.0-beta.36
My package.json:
Thanks, the locked version does work, it builds successfully. But an error is reported when starting the dev server: Uncaught (in promise) Error: useThemeLocaleData() is called without provider.
Thanks, the locked version does work, it builds successfully. But an error is reported when starting the dev server:
Uncaught (in promise) Error: useThemeLocaleData() is called without provider.
v2.0.0-alpha.20 Tested and worked successfully ! ~ 🤩 @Renovamen 👏
@Zhengqbbb Nice, thanks!
@Alomerry @ciocola @shaul-xu The latest version (v2.0.0-alpha.20) should be compatible with VuePress v2.0.0-beta.39, please have a try. Let me know if there are still any issues. Thanks for reporting it!
Thanks a lot, everything works fine for dev and build.
✅ Checklist
🔎 Description
大佬你好,很喜欢你的主题,本人小白一个,最近在自己做一些尝试,搭建静态博客
build时出错,页面无法显示
在启动开发服务器时(npm run dev)一切都是正常的,博客能正常运行,基本功能都能使用,并且控制台没有输出任何错误。
然而当我试着构建时(npm run build)在 Rendering pages 时报错
Error: usePageFrontmatter() is called without provider.
我不清楚问题的具体来源,一直找不到原因,希望大佬能帮忙看看,感激不尽这是在vercel上部署时的错误:
📄 Environment info (
npx vuepress info
)🔗 Reproduction link / repo:
No response