vendure-ecommerce / vendure-plus-issues

Report issues on Vendure Plus plugins here
0 stars 1 forks source link

Gift Card UI uses rxjs 7 APIs #1

Closed michaelbromley closed 1 year ago

michaelbromley commented 1 year ago

I have an issue setting up the extension. Angular has trouble compiling

Error: src/extensions/gift-card-plugin/components/layout-preview/layout-preview.component.ts:14:29 - error TS2305: Module '"rxjs"' has no exported member 'startWith'.
Error: src/extensions/gift-card-plugin/components/layout-preview/layout-preview.component.ts:14:63 - error TS2305: Module '"rxjs"' has no exported member 'tap'.

It seems like an older version of rxjs is used (6.x.x) but theses exports are from version 7.x.x

I am not sure how to proceed, if I add 7.x.x to my project some nextjs things become broken. Maybe you have a simple fix? And if there is another place to ask these questions, let me know, i thought it wouldn't fit in the help channel.

michaelbromley commented 1 year ago

Fixed in v0.1.1