Closed josepaiva94 closed 3 years ago
hi @josepaiva94, thanks for reporting!
have you tried to init a project in a completely different (and empty) directory? It may be caused by some files which can collide with the new init.
I only had shopware-pwa.config.js
as recommended. It doesn't work with that file.
Tested now without it and it worked for latest stable (recommended)
without issues, but for canary
$ npx @shopware-pwa/cli@canary init
✔ Shopware instance address: · http://localhost:8000/
✔ Shopware instance access token: · SWSCUJH4VWTJYXNVSKPPWFO5TQ
✔ Which version you'd like to use: · canary (current master branch)
✔ Preparing Nuxt project
✔ Updating configuration for option: canary (current master branch)
✔ Generating project files
Please provide username and password for plugins authentication. You can leave the fields empty if connecting to demo instance or if you don't need plugins :)
✔ Shopware admin username: · admin
✔ Shopware admin password: · ********
✔ Do you want to allow dev mode for slots? (Don't use for production!) (y/N) · false
UNEXPECTED ERROR [object Object]
✔ Generating plugins files
Shopware languages refreshed
Plugins generated
CMS prepared
Shopware languages refreshed
✔ Updating dependencies
Generated Shopware PWA project!
Type 'shopware-pwa dev' and start exploring
I know that's not a real problem as canary is to use at our own risk.
Thanks!
Describe the bug
When running
npx @shopware-pwa/cli
init I cannot complete the initialization process because of missing filenuxt.config.js
.Steps to reproduce
npx @shopware-pwa/cli init
ornpx @shopware-pwa/cli@canary init
ornpx @shopware-pwa/cli@latest init
latest stable (recommended)
orcanary (current master branch)
NPM
v6.14.8
Yarnv1.22.5
Nodev14.15.1
(triedv12.18.4
also)