Thanks for bringing the tutorial Aaron, I'm trying to make some prototypes with Ionic v6 also, and was following your tutorial and everything should be working normally, but when you try to run the vite command, esbuild fails to build it because is missing some "attachShadow" method from stencil:
import { attachShadow, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
If someone is having the same issue, you just have to install the correct @stencil/core version:
npm install @stencil/core@2.9.0
Hope to help.
P.S.: It seems to not work when using yarn to install your packages, probably because of how yarn manages third party libraries dependencies. Using NPM works as expected.
Thanks for bringing the tutorial Aaron, I'm trying to make some prototypes with Ionic v6 also, and was following your tutorial and everything should be working normally, but when you try to run the vite command, esbuild fails to build it because is missing some "attachShadow" method from stencil:
It is a known issue as can be found here: github.com/ionic-team/ionic-framew...
If someone is having the same issue, you just have to install the correct @stencil/core version:
Hope to help.
P.S.: It seems to not work when using yarn to install your packages, probably because of how yarn manages third party libraries dependencies. Using NPM works as expected.
looks like they already posted a work around - github.com/ionic-team/ionic-framew...