Vendic/vsf-external-checkout

Compilation error after installation with Yarn

Tjitse-E opened this issue · 2 comments

  1. Install the module on VueStorefront 1.8 via Yarn.
  2. Run yarn dev

Compilation error:

./node_modules/vsf-external-checkout-module/index.ts 14:18
Module parse failed: Unexpected token (14:18)
You may need an appropriate loader to handle this file type.
| export const KEY = 'external-checkout'
|
> const moduleConfig: VueStorefrontModuleConfig = {
|   key: KEY,
|   store: {modules: [{key: KEY, module: store}]},
 @ ./src/modules/index.ts 20:0-64 63:4-20
 @ ./core/modules-entry.ts
 @ ./core/app.ts
 @ ./core/server-entry.ts
 @ multi babel-polyfill ./core/server-entry.ts

This is not yet a feature of Vuestorefront 1.8. More info: vuestorefront/vue-storefront#2395

Will be fixed in VueStorefront v1.10 by #2875