vsf-external-checkout icon indicating copy to clipboard operation
vsf-external-checkout copied to clipboard

Compilation error after installation with Yarn

Open Tjitse-E opened this issue 6 years ago • 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

Tjitse-E avatar Feb 07 '19 14:02 Tjitse-E

This is not yet a feature of Vuestorefront 1.8. More info: https://github.com/DivanteLtd/vue-storefront/issues/2395

Tjitse-E avatar Feb 08 '19 12:02 Tjitse-E

Will be fixed in VueStorefront v1.10 by #2875

Tjitse-E avatar Jun 22 '19 08:06 Tjitse-E