AlokaiA
Alokaiโ€ข3y agoโ€ข
2 replies
zaid parashift

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
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 ...
Issues ยท vuestorefront/vue-storefront
Was this page helpful?