volta-cli / volta

Volta: JS Toolchains as Code. ⚡
https://volta.sh
Other
11.15k stars 238 forks source link

Could not read from file .yarn/__virtual__ #1830

Open ctforcp opened 3 months ago

ctforcp commented 3 months ago

I used yarn to install dependencies, and then when running yarn dev, the following error occurred. the installation method from the official Vue 3 documentation.

X [ERROR] Could not read from file: E:/manka/.yarn/__virtual__/vue-virtual-3f34f26dc5/5/C:/Users/ka/AppData/Local/Yarn/Berry/cache/vue-npm-3.4.37-df3a8a3302-10c0.zip/node_modules/vue/dist/vue.runtime.esm-bundler.js

chriskrycho commented 3 months ago

That doesn’t appear to involve Volta at all, actually. Can you provide a bit more detail as to why you think it’s being affected by Volta in some way? Thanks!

netchose commented 2 months ago

same problem for me : steps to reproduce :

mkdir volta_xp
cd volta_xp
volta install node
volta install yarn
 yarn create vite -> create vue js project volta_xp
cd volta_xp
yarn
yarn dev

try to create same project with npm work

netchose commented 2 months ago

it's a Vite issue : https://github.com/vitejs/vite/issues/15801

last commands on d drive fail , same commands on c drive works