Closed DavidDeSloovere closed 1 year ago
looking into it
can you try to run npx @vue-storefront/cli@4.2.2-rc.1 init ?
I just published release candidate package
this should fix it #6924
👍 Fixed for WSL On Win another bug surfaces, but this one looks fixed.
Describe the Bug
Once again it's not possible to create a project using the CLI.
Throws error when trying to delete .env.example
Current behavior
The file exists, but it's not a directory.
rmdirSync
is used, which might be the reason it fails? Shoud it beunlinkSync
https://github.com/vuestorefront/vue-storefront/blob/4e1ff1aea26493574db860b845128a0ec042b448/packages/cli/src/domains/magento2/functions/copyEnv.ts#L34
Expected behavior
No errors.
Steps to reproduce
On Windows or WSL:
npx @vue-storefront/cli@latest init using Magento 2 and No auto installation
What version of Vue Storefront are you using?
-
What version of Node.js are you using?
16.20
What browser (and version) are you using?
-
What operating system (and version) are you using?
Windows / WSL
Relevant log output
Able to fix / change the documentation?
Code of Conduct