Open johnsmithodom opened 1 year ago
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
COMMANDS
add Create new endpoint. Usage: add endpoint
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 ┌ 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:~# cd yes/ root@vps:~/yes# yarn dev 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'dev' root@vps:~/yes# root@vps:~/yes# yarn 00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one. root@vps:~/yes#
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?
Code of Conduct