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

Type issue in stackblitz:'"vuepress"' has no exported member 'defineUserConfig' #4168

Open
6 of 8 tasks
Youky1 opened this issue May 19, 2024 · 2 comments
Open
6 of 8 tasks
Assignees
Labels
question Question or discussion upstream bug Bug comes from upstream, should not be fixed here

Comments

@Youky1
Copy link

Youky1 commented May 19, 2024

Checklist

  • I am using LTS version of Node.js.
  • I am using the latest v2 version of VuePress and VuePress official plugins.
  • I am using the latest v2 version of vuepress-theme-hope and all plugins in this repo.
  • I followed the docs and I double checked my configuration.
  • I have searched FAQ and I did not find the answer.

Package name

vuepress-theme-hope

Which operating system are you using?

  • macOS
  • Windows
  • Linux

Describe the bug

引用依赖时报错,'"vuepress"' has no exported member 'defineUserConfig' ,项目无法运行。
在线演示demo中同样有这个错误
image

Additional context

No response

@Youky1 Youky1 added the bug Something isn't working label May 19, 2024
@Mister-Hope
Copy link
Member

Mister-Hope commented May 20, 2024

The stack blitz editor is not a fully functional editor, which does not support pure esm packages. Report to them about esm package issues.

For local projects, ensure type: "module" is added or use .mts/.mjs

@Mister-Hope Mister-Hope closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
@Mister-Hope Mister-Hope added the question Question or discussion label May 20, 2024
@Mister-Hope
Copy link
Member

@Mister-Hope Mister-Hope reopened this May 28, 2024
@Mister-Hope Mister-Hope added upstream bug Bug comes from upstream, should not be fixed here and removed bug Something isn't working labels May 28, 2024
@Mister-Hope Mister-Hope changed the title 引用依赖报错:'"vuepress"' has no exported member 'defineUserConfig' Type issue in stackblitz:'"vuepress"' has no exported member 'defineUserConfig' Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or discussion upstream bug Bug comes from upstream, should not be fixed here
Projects
None yet
Development

No branches or pull requests

2 participants