Project does not start with Spryker as backend platform
Closed this issue · 0 comments
GeorgieKirschner commented
Summary
The Vue Storefront (v2) project with Spryker as the backend platform will not start up and show an error on yarn dev
once Storyblok is added as shown in the installation guide.
Steps to Reproduce
- Create a new Vue Storefront project by using VSF CLI
- Choose Spryker as backend platform
- Once project is created run
yarn install
- Add Storyblok to the project as described in installation guide
- Run
yarn dev
Expected Result
Project starts up successfully
Actual Result
Project start-up produces following error:
if (options?.jsBridge) {
^
SyntaxError: Invalid or unexpected token
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
╭──────────────────────────────────────────────╮
│ │
│ ✖ Nuxt Fatal Error │
│ │
│ SyntaxError: Invalid or unexpected token │
│ │
╰──────────────────────────────────────────────╯
error Command failed with exit code 1.