-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed as not planned
Labels
Description
Describe the bug
When launching from a SMB or file share on windows, it fails to load deps.
Reproduction
The issue here is obvious, open a SMB or file share on windows, then attempt to run vite.
System Info
System:
OS: Windows 10 10.0.18362
CPU: (24) x64 AMD Ryzen 9 3900X 12-Core Processor
Memory: 29.59 GB / 63.94 GB
Binaries:
Node: 16.6.2 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 7.17.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 94.0.4606.81
Edge: Spartan (44.18362.449.0)
Internet Explorer: 11.0.18362.1Used Package Manager
npm
Logs
error when starting dev server:
Error: ENOENT: no such file or directory, open '/NAS/main/projects/simplemc/webdist/node_modules/svelte/transition/index.mjs'
at Object.openSync (node:fs:582:3)
at Object.readFileSync (node:fs:450:35)
at optimizeDeps (M:\projects\simplemc\webdist\node_modules\vite\dist\node\chunks\dep-1be34a63.js:71583:42)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOptimize (M:\projects\simplemc\webdist\node_modules\vite\dist\node\chunks\dep-1be34a63.js:75390:48)
at async Server.httpServer.listen (M:\projects\simplemc\webdist\node_modules\vite\dist\node\chunks\dep-1be34a63.js:75406:21)
ERROR: "dev:vite" exited with 1.Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable