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] a lot of warning: files in the public directory are served at the root path. #439

Closed
winixt opened this issue Sep 14, 2021 · 2 comments

Comments

@winixt
Copy link

winixt commented Sep 14, 2021

Bug report

Description

use vite, public path not in root path, output a lot of warning。

  • Reproduction link / repo:

Expected behavior

not warning

Screenshots

image

image

Environment info

System:
    OS: macOS 11.5.2
    CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
    Memory: 81.85 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.5.0 - ~/.nvs/node/16.5.0/x64/bin/node
    Yarn: 1.22.10 - ~/.npm-global/bin/yarn
    npm: 7.19.1 - ~/.nvs/node/16.5.0/x64/bin/npm
  Utilities:
    Git: 2.30.1 - /usr/bin/git
  Browsers:
    Chrome: 93.0.4577.63
    Edge: Not Found
    Firefox: Not Found
    Safari: 14.1.2
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.26 
    @vuepress/bundler-webpack:  2.0.0-beta.26 
    @vuepress/cli:  2.0.0-beta.26 
    @vuepress/client:  2.0.0-beta.26 
    @vuepress/core:  2.0.0-beta.26 
    @vuepress/markdown:  2.0.0-beta.25 
    @vuepress/plugin-active-header-links:  2.0.0-beta.26 
    @vuepress/plugin-back-to-top:  2.0.0-beta.26 
    @vuepress/plugin-container:  2.0.0-beta.26 
    @vuepress/plugin-debug: Not Found
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-git:  2.0.0-beta.26 
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom:  2.0.0-beta.26 
    @vuepress/plugin-nprogress:  2.0.0-beta.26 
    @vuepress/plugin-palette:  2.0.0-beta.26 
    @vuepress/plugin-prismjs:  2.0.0-beta.26 
    @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.26 
    @vuepress/plugin-toc: Not Found
    @vuepress/shared:  2.0.0-beta.25 
    @vuepress/theme-default:  2.0.0-beta.26 
    @vuepress/utils:  2.0.0-beta.25 
    vue:  3.2.6 
    vue-loader:  16.5.0 
    vue-router:  4.0.11 
    vuepress: ^2.0.0-beta.26 => 2.0.0-beta.26 
    vuepress-vite: ^2.0.0-beta.26 => 2.0.0-beta.26 
@meteorlxy
Copy link
Member

meteorlxy commented Sep 14, 2021

This is an issue of vite.

It's introduced in vite 2.5.2 by vitejs/vite#4631

Should be fixed by vitejs/vite#4927

@github-actions
Copy link

This issue is marked as stale because it has not had recent activity. Issues marked with stale will be closed if they have no activity within 3 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants