A
Alokaiβ€’16mo ago
Tajveez

Getting error while installing Vue-storefront by using CLI

Hi, I am following VSF documentation to install it locally by using cli command
npx @vue-storefront/cli init
npx @vue-storefront/cli init
but the cli command ends with following error:
Error: ENOTDIR: not a directory, rmdir '/media/tajdev/01D6E742CE302D90/Wo
rk/Project-Name/projectname/.env.example'
Code: ENOTDIR
Error: ENOTDIR: not a directory, rmdir '/media/tajdev/01D6E742CE302D90/Wo
rk/Project-Name/projectname/.env.example'
Code: ENOTDIR
OS: Ubuntu 22.04 Node version: 16.20.0 npm vesion: 8.19.4 yarn version: 1.22.19
16 Replies
rohrig
rohrigβ€’16mo ago
Hi @Tajveez πŸ‘‹ , do you have docker installed?
Tajveez
Tajveezβ€’16mo ago
yes i do. Docker version 20.10.21, build 20.10.21-0ubuntu1~22.04.3 docker-compose version 1.29.2, build unknown. I tried CLI with installing magento2 docker error as well but it gave permission error so i installed magento2 docker manually.
skirianov
skirianovβ€’16mo ago
If you already installed magento manually, then select "no" when prompted to install magento locally. Otherwise, can you please take a look at the logs created
Tajveez
Tajveezβ€’16mo ago
Hi @skirianov , yes i am selecting no to install Magento locally. Following text is from CLI_logs.txt
v16.20.0

πŸ™Œ Node.js version is compatible
v16.20.0

πŸ™Œ Node.js version is compatible
skirianov
skirianovβ€’16mo ago
Is it all? πŸ€”
Tajveez
Tajveezβ€’16mo ago
yeah
skirianov
skirianovβ€’16mo ago
hmm...okay, let me look into it πŸ™ I'll update you on GH issue
rohrig
rohrigβ€’16mo ago
@Tajveez did you run cat CLI_logs.txt ?
Tajveez
Tajveezβ€’16mo ago
no opened with text editor. but same in cat command. from error text it seems the script is using rmdir command to delete file .env.example which fails because .env.example is a file not a directory.
skirianov
skirianovβ€’16mo ago
yeah, I'm taking care of that @Tajveez - soon will push a fix can you try to run npx @vue-storefront/cli@4.2.2-rc.1 init ? I just published release candidate package
Tajveez
Tajveezβ€’16mo ago
let me check. it worked!!! Thanks guys
skirianov
skirianovβ€’16mo ago
awesome! Releasing the patch then thanks!
Bekss
Bekssβ€’16mo ago
i have same issue while installing project from documentation. Please help.
No description
Bekss
Bekssβ€’16mo ago
Node.js version - 16.14
No description
skirianov
skirianovβ€’16mo ago
Hey @Bekss that’s not the same error. Please create a new question and we will try to help
Want results from more Discord servers?
Add your server