vuepress / core

Vue-Powered Static Site Generator
https://vuepress.vuejs.org
MIT License
2.29k stars 925 forks source link

[Bug report] Could not load /docs/.vuepress/.temp/internal/layoutComponents #1350

Closed MelodyLLL closed 1 year ago

MelodyLLL commented 1 year ago

Could not load /docs/.vuepress/.temp/internal/layoutComponents

Could not load /docs/.vuepress/.temp/internal/layoutComponents

Reproduction

Used Package Manager

npm

System Info

System:
    OS: macOS 12.6
    CPU: (8) arm64 Apple M1
    Memory: 108.63 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    Yarn: 1.18.0 - ~/.nvm/versions/node/v14.19.1/bin/yarn
    npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
  Utilities:
    Git: 2.22.0 - /usr/local/bin/git
  Browsers:
    Chrome: 114.0.5735.90
    Edge: Not Found
    Firefox: Not Found
    Safari: 16.0
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.62 
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-beta.62 
    @vuepress/client:  2.0.0-beta.50-pre.1 (2.0.0-beta.62)
    @vuepress/core:  2.0.0-beta.50-pre.1 (2.0.0-beta.62)
    @vuepress/markdown:  2.0.0-beta.50-pre.1 (2.0.0-beta.62)
    @vuepress/plugin-active-header-links:  2.0.0-beta.62 
    @vuepress/plugin-back-to-top:  2.0.0-beta.62 
    @vuepress/plugin-container:  2.0.0-beta.62 
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-external-link-icon:  2.0.0-beta.62 
    @vuepress/plugin-git:  2.0.0-beta.62 
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom:  2.0.0-beta.62 
    @vuepress/plugin-nprogress:  2.0.0-beta.62 
    @vuepress/plugin-palette:  2.0.0-beta.62 
    @vuepress/plugin-prismjs:  2.0.0-beta.62 
    @vuepress/plugin-pwa: Not Found
    @vuepress/plugin-pwa-popup: Not Found
    @vuepress/plugin-register-components: Not Found
    @vuepress/plugin-search: ^2.0.0-beta.62 => 2.0.0-beta.50-pre.1 
    @vuepress/plugin-shiki: Not Found
    @vuepress/plugin-theme-data:  2.0.0-beta.62 
    @vuepress/plugin-toc: Not Found
    @vuepress/shared:  2.0.0-beta.50-pre.1 (2.0.0-beta.62)
    @vuepress/theme-default:  2.0.0-beta.62 
    @vuepress/utils:  2.0.0-beta.50-pre.1 (2.0.0-beta.62)
    vue:  3.3.4 
    vue-loader: Not Found
    vue-router:  4.2.2 
    vuepress: ^2.0.0-beta.62 => 2.0.0-beta.62 
    vuepress-vite:  undefined (2.0.0-beta.62)
    vuepress-webpack: Not Found
Mister-Hope commented 1 year ago

@vuepress/client: 2.0.0-beta.50-pre.1 (2.0.0-beta.62) @vuepress/core: 2.0.0-beta.50-pre.1 (2.0.0-beta.62) @vuepress/markdown: 2.0.0-beta.50-pre.1 (2.0.0-beta.62) @vuepress/plugin-search: ^2.0.0-beta.62 => 2.0.0-beta.50-pre.1 @vuepress/shared: 2.0.0-beta.50-pre.1 (2.0.0-beta.62) @vuepress/utils: 2.0.0-beta.50-pre.1 (2.0.0-beta.62)

See sticky issue

github-actions[bot] commented 1 year ago

Hello @MelodyLLL. This issue is marked as invalid and closed. Please follow the issue template.

tvdeyen commented 1 year ago

Following the notes in https://github.com/vuepress/vuepress-next/issues/1195 removing node_modules folder and .vuepress/.chache and .vuepress/.temp folders resolved this issue for me.

MelodyLLL commented 1 year ago

Following the notes in #1195 removing node_modules folder and .vuepress/.chache and .vuepress/.temp folders resolved this issue for me.

I have tried before, It seems that the vuepress-plugin-comment2 plugin is used with npm to cause the occasional errors。sometimes you will get this report,but usually show me is "Cannot find package '@internal/pagesData' "

rosendolu commented 1 year ago

Following the notes in #1195 removing node_modules folder and .vuepress/.chache and .vuepress/.temp folders resolved this issue for me.

Works for me ,thx