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 report] Cannot find package '@internal/themeData' #240

Closed
typed-sigterm opened this issue Aug 30, 2024 · 2 comments
Closed

[Bug report] Cannot find package '@internal/themeData' #240

typed-sigterm opened this issue Aug 30, 2024 · 2 comments

Comments

@typed-sigterm
Copy link

Description

I'm writing a theme. Before I importing @vuepress/plugin-theme-data, everything was okay. But importing @vuepress/plugin-theme-data, many things went wrong.

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@internal/themeData' imported from ...\node_modules\.pnpm\@[email protected][email protected][email protected]_@vuepress+bundl_lxak67czprldijmekzuwprcmpq\node_modules\@vuepress\plugin-theme-data\lib\client\composables\useThemeData.js
    at ...

Sometimes path alias also breaks: (the minimal reproduction below has omitted this)

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@/shared' imported from ...\playground\.vuepress\config.ts.6a0e1004.mjs
    at ...

Reproduction

https://stackblitz.com/edit/vuepress-demo-e364ff2

Used Package Manager

pnpm

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (6) x64 AMD Ryzen 5 4500U with Radeon Graphics
    Memory: 1.17 GB / 7.23 GB
  Binaries:
    Node: 20.10.0 - C:\nodejs\node.EXE
    Yarn: 1.22.22 - ~\AppData\Local\pnpm\yarn.CMD
    npm: 10.2.3 - C:\nodejs\npm.CMD
    pnpm: 9.9.0 - ~\AppData\Local\pnpm\pnpm.CMD
    bun: Not Found
  Utilities:
    Git: 2.46.0.
  Browsers:
    Chrome: Not Found
    Edge: Chromium (127.0.2651.74), ChromiumDev (127.0.2610.3)
  npmPackages:
    @vuepress/bundler-vite: 2.0.0-rc.15 => 2.0.0-rc.15
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli: Not Found
    @vuepress/client: Not Found
    @vuepress/core: Not Found
    @vuepress/markdown: Not Found
    @vuepress/shared: Not Found
    @vuepress/utils: Not Found
    vue: ^3.4.38 => 3.4.38
    vue-router: Not Found
    vuepress: 2.0.0-rc.15 => 2.0.0-rc.15
@Mister-Hope
Copy link
Member

Mister-Hope commented Aug 30, 2024

Provide a valid minimal reproduction that has a VALID theme entry.

image

Copy link

Hello @typed-sigterm. Please provide a minimal reproduction using a GitHub repository or v2.vuepress.vuejs.org/new. Issues marked with need reproduction will be closed if they have no activity within 7 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants