Skip to content

[Bug report] Can't upgrade to beta 58 from 54 #1196

@zwik

Description

@zwik

Description

When upgrading I can't use a dev nor production build and get error during development like this:

[plugin:vite:import-analysis] Failed to resolve import "/home/marcel/documents/code/environment/mirror-2021/node_modules/@vuepress/theme-default/lib/client/layouts/404.vue" from "docs/.vuepress/.temp/internal/layoutComponents.js". Does the file exist?

I removed the caret and installed again but same issues.

Reproduction

https://github.com/zwik/mirror-2021

Used Package Manager

npm

System Info

npm run info                                                                                                                                                                                    127 ✘  09:31:47  

> [email protected] info
> vuepress info


  System:
    OS: Linux 5.15 Ubuntu 22.10 22.10 (Kinetic Kudu)
    CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
    Memory: 12.66 GB / 15.58 GB
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
    Yarn: 1.22.5 - /mnt/c/Program Files (x86)/Yarn/bin/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v18.12.1/bin/npm
  Utilities:
    Git: 2.37.2 - /usr/bin/git
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.58 
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-beta.58 
    @vuepress/client:  2.0.0-beta.50-pre.1 (2.0.0-beta.58)
    @vuepress/core:  2.0.0-beta.58 
    @vuepress/markdown:  2.0.0-beta.58 
    @vuepress/plugin-active-header-links:  2.0.0-beta.58 
    @vuepress/plugin-back-to-top:  2.0.0-beta.58 
    @vuepress/plugin-container:  2.0.0-beta.58 
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-external-link-icon:  2.0.0-beta.58 
    @vuepress/plugin-git:  2.0.0-beta.58 
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom:  2.0.0-beta.58 
    @vuepress/plugin-nprogress:  2.0.0-beta.58 
    @vuepress/plugin-palette:  2.0.0-beta.58 
    @vuepress/plugin-prismjs:  2.0.0-beta.58 
    @vuepress/plugin-pwa: Not Found
    @vuepress/plugin-pwa-popup: Not Found
    @vuepress/plugin-register-components: Not Found
    @vuepress/plugin-search: Not Found
    @vuepress/plugin-shiki: Not Found
    @vuepress/plugin-theme-data:  2.0.0-beta.58 
    @vuepress/plugin-toc: Not Found
    @vuepress/shared:  2.0.0-beta.50-pre.1 (2.0.0-beta.58)
    @vuepress/theme-default:  2.0.0-beta.58 
    @vuepress/utils:  2.0.0-beta.58 
    vue:  3.2.45 
    vue-loader: Not Found
    vue-router:  4.1.6 
    vuepress: 2.0.0-beta.58 => 2.0.0-beta.58 
    vuepress-vite:  2.0.0-beta.58 
    vuepress-webpack: Not Found

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions