Having an issue to install Vuestorefront in Windows system
Hey Guyz
I am getting that error by using this command "npx @vue-storefront/cli init". And following things are using in this project
CLI version = @vue-storefront/cli/4.4.0 win32-x64
Node version = node-v16.15.0
OS = Windows 11
yarn version = 1.22.19
I have installed Magento on the Cloudways server, Now I am trying to install Vuestorefront in local but I am facing a issue I have given below terminal code please check it:
PS D:\Zaid\Work\human_abstract> npx @vue-storefront/cli init
โ Welcome to Vue Storefront 2 CLI! ๐
โ ๐ What's your project name?
โ project
โ โ๏ธ Choose an integration template:
โ Magento 2
โ ๐ Node.js version is compatible
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ This feature is still in beta. โ
โ Thanks for your patience! ๐ โ
โ You can report any issues here: โ
โ https://github.com/vuestorefront/vue-storefront/issues โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ ๐ค Do you want to install Magento 2 locally on your computer? (BETA)
โ No
โ ๐ Magento domain name
โ magento-1082361-3805878.cloudwaysapps.com
โ
โ ๐ Vue Storefront project has been generated
โ
โ ๐ฆ Installing dependencies
node:events:505
throw er; // Unhandled 'error' event
^
Error: spawn yarn ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:478: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:289:12)
at onErrorNT (node:internal/child_process:478:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn yarn',
path: 'yarn',
spawnargs: []
}
GitHub
Issues ยท vuestorefront/vue-storefront
The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have custom integrations with Magento, commercetools, Shopware and Shopify and total ...
2 Replies
Hi @zaid parashift ๐ , I have a look. Have you seen this in the docs?
I dusted off my Windows computer ๐ป to test it and everything is working fine for me. ๐
From the looks of the output you pasted up at the top ๐ , you weren't using WSL. Please try using WSL and let me know if you're still having trouble. I will update the docs to make this more obvious.
From the looks of the output you pasted up at the top ๐ , you weren't using WSL. Please try using WSL and let me know if you're still having trouble. I will update the docs to make this more obvious.