A
Alokaiβ€’2y 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β€’2y ago
Hi @Tajveez πŸ‘‹ , do you have docker installed?
Tajveez
TajveezOPβ€’2y 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β€’2y 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
TajveezOPβ€’2y 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β€’2y ago
Is it all? πŸ€”
Tajveez
TajveezOPβ€’2y ago
yeah
skirianov
skirianovβ€’2y ago
hmm...okay, let me look into it πŸ™ I'll update you on GH issue
rohrig
rohrigβ€’2y ago
@Tajveez did you run cat CLI_logs.txt ?
Tajveez
TajveezOPβ€’2y 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β€’2y ago
yeah, I'm taking care of that @Tajveez - soon will push a fix can you try to run npx @vue-storefront/[email protected] init ? I just published release candidate package
Tajveez
TajveezOPβ€’2y ago
let me check. it worked!!! Thanks guys
skirianov
skirianovβ€’2y ago
awesome! Releasing the patch then thanks!
Bekss
Bekssβ€’2y ago
i have same issue while installing project from documentation. Please help.
No description
Bekss
Bekssβ€’2y ago
Node.js version - 16.14
No description
skirianov
skirianovβ€’2y 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