-
DescriptionWhen upgrading I can't use a dev nor production build and get error during development like this:
I removed the caret and installed again but same issues. Reproductionhttps://github.com/zwik/mirror-2021 Used Package Managernpm System Infonpm 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 |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 5 replies
-
see #1195, don't use |
Beta Was this translation helpful? Give feedback.
-
As mentioned in the description. I've tried that, but that doesn't seem to work for me. I've updated the repo with that as well. You can also see in the output of |
Beta Was this translation helpful? Give feedback.
-
remove the in the this is my
|
Beta Was this translation helpful? Give feedback.
-
I've just removed the |
Beta Was this translation helpful? Give feedback.
-
I've installed When I look at the documentation I see that |
Beta Was this translation helpful? Give feedback.
-
I find the peerDependencies in |
Beta Was this translation helpful? Give feedback.
-
Yes, when using npm, any package can import other packages in the project, while pnpm only allow packages to import packages which declared in their |
Beta Was this translation helpful? Give feedback.
-
This issue is converted to a dicussion as it's dumplicate of #1195, however you are still welcomed to ask question about upgrade issues or solution. |
Beta Was this translation helpful? Give feedback.
-
Since the issue is now closed I'm still wondering what should be improved. I understand that |
Beta Was this translation helpful? Give feedback.
see #1195, don't use
^