Skip to content

[Bug report] File access restriction of Vite 2.3 #134

@davay42

Description

@davay42

I've got this server error with a fresh new vuepress install

23:12:36 [vite] Internal server error: 
The request url "/Users/Davay/Documents/ФРУКТ/Axioma/axioma.center/node_modules/.pnpm/@vuepress+client@2.0.0-beta.12/node_modules/@vuepress/client/lib/app.js" 
is outside of vite dev server root "/Users/Davay/Documents/ФРУКТ/Axioma/axioma.center". 

Notice it has ФРУКТ in the first path and ФРУКТ in the second.

Environment info

  • Output of vuepress info:
System:
    OS: macOS Mojave 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
    Memory: 768.96 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 14.16.1 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 7.8.0 - /usr/local/bin/npm
  Utilities:
    Git: 2.21.1 - /usr/bin/git
  Browsers:
    Chrome: 90.0.4430.212
    Edge: Not Found
    Firefox: 88.0
    Safari: 14.1
  npmPackages:
    @vuepress/bundler-vite: Not Found
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli: Not Found
    @vuepress/client: Not Found
    @vuepress/core: Not Found
    @vuepress/markdown: Not Found
    @vuepress/plugin-active-header-links: Not Found
    @vuepress/plugin-back-to-top: Not Found
    @vuepress/plugin-container: Not Found
    @vuepress/plugin-debug: Not Found
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-git: Not Found
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom: Not Found
    @vuepress/plugin-nprogress: Not Found
    @vuepress/plugin-palette: Not Found
    @vuepress/plugin-prismjs: Not Found
    @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: Not Found
    @vuepress/plugin-toc: Not Found
    @vuepress/shared: Not Found
    @vuepress/theme-default: Not Found
    @vuepress/theme-vue: Not Found
    @vuepress/utils: Not Found
    vue: Not Found
    vue-loader: Not Found
    vue-router: Not Found
    vuepress: Not Found
    vuepress-vite: ^2.0.0-beta.13 => 2.0.0-beta.13 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions