I have a problem installing VSF2 on my computer, I want to start developing my website, but I can't
◇ ⚙️ Choose an integration template:
│ Odoo
│
◇ 🙌 Node.js version is compatible
│
◇ 🎉 Vue Storefront project has been generated
│
○ 📦 Installing dependencies
throw er; // Unhandled 'error' event
^
Error: spawn yarn ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:485:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
at onErrorNT (node:internal/child_process:485:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn yarn',
path: 'yarn',
spawnargs: []
When you ran this command: npx @vue-storefront/cli init
5 Replies
im usign windows 10 pro and node js 16.20 and Yarn 1.22.22
did you fix it? I have the same problem
I haven't fixed it, today I'm going to keep trying
For this you'll likely need to use WSL2
I had the same problem, running solved it