Open bsastregx opened 3 years ago
Getting the same errors, so really looking for a solution for this.
@pinkkis also within storybook?
@splitinfinities Yes, correct. Both for "getRenderingRef" and "forceUpdate"
ERROR in ./node_modules/@stencil/store/dist/index.mjs 50:24-39
Can't import the named export 'getRenderingRef' from non EcmaScript module (only default export is available)
@ ./dist/collection/store/app-store.js
@ ./dist/collection/store/index.js
[...]
stencil/core 2.9.0, stencil/store 1.5.0, storybook/html 6.3.12
👋 As a bit of housekeeping, I'm going to move this issue to the Stencil Store repo
any update on this?
Stencil version:
I'm submitting a:
[x] bug report [x] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior: I have installed @stencil/store. It works just fine except that when I try to run storybook (i am using storybook with stencil) I get the following error :
ERROR in ./node_modules/@stencil/store/dist/index.mjs 57:59-70 Can't import the named export 'forceUpdate' from non EcmaScript module (only default export is available) @ ./dist/collection/components/store.js
Expected behavior: Storybook would just run normally
Steps to reproduce:
Related code:
components/store.ts:
storybook/webpack.config.js
Other information: Sergio Arbeo, one of the contributors of stencil core, sugested me to configure webpack so it loads correctly the dependencies. I don't know webpack... But the error seems to be in stencil store... Please any help will be much appreciated.