nuxt / vite

โšก Vite Experience with Nuxt 2

Home Page:https://vite.nuxtjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

it's bug?

gui8515 opened this issue ยท comments

Description

$ npm run dev

frontend@1.0.0 dev C:\Users\Guilherme\Documents\GitHub\T7\frontend
nuxt

๐Ÿงช Vite mode is experimental and some nuxt modules might be incompatible 21:37:50
If found a bug, please report via https://github.com/nuxt/vite/issues with a minimal reproduction.
Unstable server-side rendering is enabled

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ Nuxt @ v2.15.7 โ”‚
โ”‚ โ”‚
โ”‚ โ–ธ Environment: development โ”‚
โ”‚ โ–ธ Rendering: server-side โ”‚
โ”‚ โ–ธ Target: server โ”‚
โ”‚ โ”‚
โ”‚ Listening: http://localhost:3000/ โ”‚
โ”‚ โ”‚
โ”‚ โšก Vite Mode Enabled (v0.1.1) โ”‚
โ”‚ Tailwind Viewer: http://localhost:3000/_tailwind/ โ”‚
โ”‚ โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

i Preparing project for development 21:37:53
i Initial build may take a while 21:37:53
i Discovered Components: .nuxt/components/readme.md 21:37:53
โˆš Builder initialized 21:37:53
โˆš Nuxt files generated 21:37:54

WARN Unrestricted file system access to "/@id/defaultexport:C:/Users/Guilherme/Documents/GitHub/T7/frontend/.nuxt/components/plugin.js"

WARN For security concerns, accessing files outside of serving allow list will be restricted by default in the future version of Vite. Refer to https://vitejs.dev/config/#server-fs-allow for more details.

WARN Unrestricted file system access to "/@id/defaultexport:C:/Users/Guilherme/Documents/GitHub/T7/frontend/.nuxt/workbox.js"

WARN Unrestricted file system access to "/@id/defaultexport:C:/Users/Guilherme/Documents/GitHub/T7/frontend/.nuxt/pwa/meta.plugin.js"

WARN Unrestricted file system access to "/@id/defaultexport:C:/Users/Guilherme/Documents/GitHub/T7/frontend/.nuxt/pwa/icon.plugin.js"

WARN Unrestricted file system access to "/@id/defaultexport:C:/Users/Guilherme/Documents/GitHub/T7/frontend/.nuxt/axios.js"

WARN Unrestricted file system access to "/@id/x00/vite/vueComponentNormalizer" 21:37:58

WARN Unrestricted file system access to "/@id/x00/vite/vueHotReload" 21:37:58

i Vite warmed up in 11481ms 21:38:09

WARN Unrestricted file system access to "/__webpack_hmr/client" 21:38:23

i Waiting for file changes 21:39:35
i Memory usage: 659 MB (RSS: 1.02 GB) 21:39:35
i Listening on: http://localhost:3000/ 21:39:35

I have this problem too.

Adding this option will ignore warn logging.

vite: {
  server: {
    fs: {
      strict: false,
    },
  },
},

https://vitejs.dev/config/#server-fs-strict

Should works in 0.2.x by default.