Skip to content
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

[Bug]useThemeLocaleData() is called without provider. #1625

Closed
3 of 5 tasks
2064135029 opened this issue Mar 31, 2022 · 1 comment
Closed
3 of 5 tasks

[Bug]useThemeLocaleData() is called without provider. #1625

2064135029 opened this issue Mar 31, 2022 · 1 comment
Assignees
Labels
upstream bug Bug comes from upstream, should not be fixed here

Comments

@2064135029
Copy link

Checklist

  • I am using the latest version
  • I have searched FAQ (V1 Docs | V2 Docs)

Package name

vuepress-theme-hope

Version

v2

Which operating system are you using?

  • macOS
  • Windows
  • Linux

Describe the bug

v2.9.0 init the project but it cannot running
useThemeLocaleData.js?v=a70ff393:6 Uncaught (in promise) Error: useThemeLocaleData() is called without provider.
at useThemeLocaleData (useThemeLocaleData.js?v=a70ff393:6:15)
at useThemeLocaleData (themeData.ts:20:5)
at setup (CommonWrapper.ts:45:25)
at callWithErrorHandling (runtime-core.esm-bundler.js:155:22)
at setupStatefulComponent (runtime-core.esm-bundler.js:7056:29)
at setupComponent (runtime-core.esm-bundler.js:7012:11)
at mountComponent (runtime-core.esm-bundler.js:4922:13)
at processComponent (runtime-core.esm-bundler.js:4897:17)
at patch (runtime-core.esm-bundler.js:4489:21)

Additional context

No response

@2064135029 2064135029 added the bug Something isn't working label Mar 31, 2022
@Mister-Hope
Copy link
Member

vuepress/core#781

@Mister-Hope Mister-Hope added upstream bug Bug comes from upstream, should not be fixed here v2 and removed bug Something isn't working labels Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream bug Bug comes from upstream, should not be fixed here
Projects
None yet
Development

No branches or pull requests

2 participants