[Bug]: npx @vue-storefront/cli generate store doesn't generate a store
johnsmithodom opened this issue ยท 4 comments
Describe the Bug
npx @vue-storefront/cli generate store doesn't generate a store to yarn/ yarn dev to start with
Current behavior
root@vps:# npx @vue-storefront/cli generate store# cd yes/
โ Welcome to Vue Storefront 2 CLI! ๐
โ
โ ๐ What's your project name?
โ yes
โ
โ โ๏ธ Choose an integration template:
โ Spree
โ
โ ๐ Node.js version is compatible
โ
โ ๐ Vue Storefront project has been generated
โ
โ ๐ Dependencies have been installed successfully
โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Project is conifugred. โ
โ If you want more advanced configuration go to the โ
โ https://docs.vuestorefront.io/spree/ to learn how to do it. โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โ
โ To start working with the project, cd into project directory:
โ
โ cd yes
โ
โ Start the project using this command:
โ
โ yarn dev
โ
โ
โ
โ Happy coding! ๐
root@vps:
root@vps:/yes# yarn dev/yes#
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'dev'
root@vps:
root@vps:/yes# yarn/yes#
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
root@vps:
Expected behavior
Step 2: Install dependencies
Step 3: Configure the project
Step 4: Start the project
Steps to reproduce
No response
What version of Vue Storefront are you using?
2
What version of Node.js are you using?
v16.13.0
What browser (and version) are you using?
firefox
What operating system (and version) are you using?
Ubuntu 22.04.1 LTS
Relevant log output
No response
Able to fix / change the documentation?
- Yes
- No
Code of Conduct
- I agree to follow this project's Code of Conduct
Hi @johnsmithodom ๐ ,
Can you please elaborate on what happens when you run the command? I just tried it and it did create a store for me.
are you getting errors of any kind?
The current env. a is a bit different than before. but still not sure why can't create store.
root@1add90:~# npx @vue-storefront/cli generate store
โ Welcome to Vue Storefront 2 CLI! ๐
โ
โ ๐ What's your project name?
โ shop
โ
โ โ๏ธ Choose an integration template:
โ Spree
โ
โ ๐ฉ Node.js version is incompatible. Please make sure you use Node.js version >= 16.13 and <17.
root@1add90:~# node -v
v16.14.2
root@1add90:~# npm -v
9.7.2
root@1add90:~# yarn -v
3.6.1
root@1add90:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
Hi @johnsmithodom ,
I'd love to help but I'm not able to reproduce the error. I tried on a Mac, and inside of a docker container, and each time the node check was successful.
Can you please give the output you see when you run npx @vue-storefront/cli
?
here's mine
root@1add90:~# npx @vue-storefront/cli
Vue Storefront's CLI.
VERSION
@vue-storefront/cli/4.3.0 linux-x64 node-v16.14.2
USAGE
$ @vue-storefront/cli [COMMAND]
TOPICS
add Create new endpoint. Usage: add endpoint <endpoint_name>
create Generate integration boilerplate. Usage: create integration
generate
plugins List installed plugins.
COMMANDS
add Create new endpoint. Usage: add endpoint <endpoint_name>
create Generate integration boilerplate. Usage: create integration
help Display help for @vue-storefront/cli.
init
m2-only Install local Magento 2 instance
plugins List installed plugins.
update update the @vue-storefront/cli CLI