vuepress / core

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

[Bug report] vuepress build deleting sources #1367

Closed VinkyV closed 1 year ago

VinkyV commented 1 year ago

Description

Tried to build project, and saw all main folder was been wiped and builded in main folder with cleaning up from sources Markdown files and other. Tried on two computers with different structures.

Reproduction

Create fresh new vuepress project and try to build it some times.

Used Package Manager

npm

System Info

> vuepress info

  System:
    OS: Windows 10 10.0.19044
    CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
    Memory: 7.83 GB / 15.84 GB
  Binaries:
    Node: 18.16.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.12.2 - C:\Program Files\nodejs\npm.CMD
  Utilities:
    Git: 2.31.1.
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.19041.1266.0), Chromium (114.0.1823.58)
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.63
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-beta.63
    @vuepress/client:  2.0.0-beta.63
    @vuepress/core:  2.0.0-beta.63
    @vuepress/markdown:  2.0.0-beta.63
    @vuepress/plugin-active-header-links:  2.0.0-beta.63
    @vuepress/plugin-back-to-top:  2.0.0-beta.63
    @vuepress/plugin-container:  2.0.0-beta.63
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-external-link-icon:  2.0.0-beta.63
    @vuepress/plugin-git:  2.0.0-beta.63
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom:  2.0.0-beta.63
    @vuepress/plugin-nprogress:  2.0.0-beta.63
    @vuepress/plugin-palette:  2.0.0-beta.63
    @vuepress/plugin-prismjs:  2.0.0-beta.63
    @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.63
    @vuepress/plugin-toc: Not Found
    @vuepress/shared:  2.0.0-beta.63
    @vuepress/theme-default:  2.0.0-beta.63
    @vuepress/utils:  2.0.0-beta.63
    vue:  3.3.4
    vue-loader: Not Found
    vue-router:  4.2.2
    vuepress: ^2.0.0-beta.63 => 2.0.0-beta.63
    vuepress-vite:  2.0.0-beta.63
    vuepress-webpack: Not Found
VinkyV commented 1 year ago

Ok i'm stupid and specified dest in config same with the source directory. XD

github-actions[bot] commented 1 year ago

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