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/routes' #1587

Closed
arranf opened this issue Jul 9, 2024 · 2 comments
Closed

[Bug report] Cannot find package '@internal/routes' #1587

arranf opened this issue Jul 9, 2024 · 2 comments

Comments

@arranf
Copy link

arranf commented Jul 9, 2024

Description

Build fails with Error

[ERR_MODULE_NOT_FOUND]: Cannot find package '@internal/routes' imported from /Users/arran/projects/arranf.github.io/node_modules/@vuepress/client/dist/chunk-YRXAAVF4.js

I've tried:

  • Pinning the Vite version
  • Using rc13

This appears to be an issue with either tsup or @vuepress/bundler-vite

Another user seems to have had this problem: #1572

Reproduction

https://github.com/arranf/arranf.github.io/

Used Package Manager

yarn

System Info

System:
    OS: macOS 14.5
    CPU: (8) arm64 Apple M1 Pro
    Memory: 350.02 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.9.0 - ~/.nvm/versions/node/v20.9.0/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.1.0 - ~/.nvm/versions/node/v20.9.0/bin/npm
    pnpm: Not Found
    bun: Not Found
  Utilities:
    Git: 2.39.3 - /usr/bin/git
  Browsers:
    Chrome: 126.0.6478.127
    Edge: Not Found
    Safari: 17.5
  npmPackages:
    @vuepress/bundler-vite: ^2.0.0-rc.14 => 2.0.0-rc.14
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-rc.14
    @vuepress/client:  2.0.0-rc.14
    @vuepress/core:  2.0.0-rc.14
    @vuepress/markdown:  2.0.0-rc.14
    @vuepress/shared:  2.0.0-rc.14
    @vuepress/utils:  2.0.0-rc.14
    vue:  3.4.31
    vue-router:  4.4.0
    vuepress: ^2.0.0-rc.14 => 2.0.0-rc.14
@arranf arranf changed the title [Bug report] [Bug report] Cannot find package '@internal/routes' Jul 9, 2024
@Mister-Hope
Copy link
Member

Mister-Hope commented Jul 10, 2024

You are making too many customizations in your repo. Consider providing minimal reproduction by removing all of them.

Copy link

Hello @arranf. 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 Jul 18, 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