This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
Am I missing something? (following quickstart issues) #1997
Unanswered
lukolszewski
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've wanted to test shopware-pwa in a local/docker setup. I've followed the official docs, but then I discovered it appears those instructions are broken. Specifically. The latest dockware image runs shopware 6.5. There is no swag pwa plugin compatible with that version.
So this is issue no 1, but fairly easily resolved by specifying lets say 6.4.10.0 as per the supported versions in the github readme.
Then when running "npx @shopware-pwa/cli init" it pulls the latest version (1.6.1 at the moment) which doesn't work with the swag plug version recommended for shopware 6.4.10.0. Eventually I tried running "npx @shopware-pwa/cli@1.4.0 init" which did run the correct version. But then when trying to rerun the init process (after changing domain configuration in shopware) it would insist on running the latest 1.6.1 version.
So what is the problem running latest version, you may ask? Just update the Swag plugin to latest too (3.3) and it should be fine. But it isn't. It fails the compilation with this:
ERROR Failed to compile with 14 errors friendly-errors 18:29:02
ERROR in ./node_modules/@vuelidate/core/dist/index.mjs friendly-errors 18:29:02
Can't import the named export 'computed' from non EcmaScript module (only default export is available)
friendly-errors 18:29:02
ERROR in ./node_modules/@vuelidate/core/dist/index.mjs friendly-errors 18:29:02
Can't import the named export 'getCurrentInstance' from non EcmaScript module (only default export is available)
friendly-errors 18:29:02
ERROR in ./node_modules/@vuelidate/core/dist/index.mjs friendly-errors 18:29:02
Can't import the named export 'inject' from non EcmaScript module (only default export is available)
friendly-errors 18:29:02
ERROR in ./node_modules/@vuelidate/core/dist/index.mjs friendly-errors 18:29:02
Can't import the named export 'isReactive' from non EcmaScript module (only default export is available)
friendly-errors 18:29:02
ERROR in ./node_modules/@vuelidate/core/dist/index.mjs friendly-errors 18:29:02
Can't import the named export 'isReadonly' from non EcmaScript module (only default export is available)
friendly-errors 18:29:02
ERROR in ./node_modules/@vuelidate/core/dist/index.mjs friendly-errors 18:29:02
Can't import the named export 'isRef' from non EcmaScript module (only default export is available)
friendly-errors 18:29:02
ERROR in ./node_modules/@vuelidate/core/dist/index.mjs friendly-errors 18:29:02
Can't import the named export 'nextTick' from non EcmaScript module (only default export is available)
friendly-errors 18:29:02
ERROR in ./node_modules/@vuelidate/core/dist/index.mjs friendly-errors 18:29:02
Can't import the named export 'onBeforeMount' from non EcmaScript module (only default export is available)
friendly-errors 18:29:02
ERROR in ./node_modules/@vuelidate/core/dist/index.mjs friendly-errors 18:29:02
Can't import the named export 'onBeforeUnmount' from non EcmaScript module (only default export is available)
friendly-errors 18:29:02
ERROR in ./node_modules/@vuelidate/core/dist/index.mjs friendly-errors 18:29:02
Can't import the named export 'provide' from non EcmaScript module (only default export is available)
friendly-errors 18:29:02
ERROR in ./node_modules/@vuelidate/core/dist/index.mjs friendly-errors 18:29:02
Can't import the named export 'reactive' from non EcmaScript module (only default export is available)
friendly-errors 18:29:02
ERROR in ./node_modules/@vuelidate/core/dist/index.mjs friendly-errors 18:29:02
Can't import the named export 'ref' from non EcmaScript module (only default export is available)
friendly-errors 18:29:02
ERROR in ./node_modules/@vuelidate/validators/dist/index.mjs friendly-errors 18:29:02
Can't import the named export 'unref' from non EcmaScript module (only default export is available)
friendly-errors 18:29:02
ERROR in ./node_modules/@vuelidate/core/dist/index.mjs friendly-errors 18:29:02
Can't import the named export 'watch' from non EcmaScript module (only default export is available)
So I decided to ask here. Am I missing some different method people use to run shopware-pwa 1.4.0 with swag plugin 3.2 and shopware backend 6.4.10.0 ?
Beta Was this translation helpful? Give feedback.
All reactions