-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Types clash when using along with @ionic/core@4.2.0 (again again 馃檮馃檮) #19
Comments
Do we have an update on this? |
Workaround for us was to use selective dependency resolutions with yarn package.json |
Ran into this issue today as well. |
Just found a solution to get around this... you can add a path mapping for {
"compilerOptions": {
// ...
"baseUrl": ".", // needed to make "paths" work
"paths": {
"@ionic/core": ["node_modules/@ionic/core"]
}
}
} I have a suggestion for a better and cleaner solution though, that would be a bit of a breaking change but solve this long-term: make Ionic an external dependency. That would mean that when including |
Thanks @simonhaenisch that fixes it for me! |
Does changing this to use |
Hey all, we're working on some changes that should permanently fix this. Stay tuned. |
Just saw that you removed Ionic completely... that's another way of making it work 馃槃 I liked the idea of it being an extension of Ionic (i. e. it would be able to use |
as 1.1.0 doesn't use @ionic/core, this can be closed |
Thanks @simonhaenisch . It works for me. |
@simonhaenisch we do want to get back to that point, and it should work. Just given everyone's time it wasn't going to work before we hit 1.0 so we needed to punt on that. There's some compiler work still to be done first. |
To replace #18.
@mlynch @mhartington this is getting quite frustrating to work with... every time an Ionic interface changes, the
@ionic/pwa-elements
package is blocking us from updatingionic/core
in our project.May I suggest removing ionic from the dependencies (there's only one interface imported anyway), and adding
to
package.json
?The text was updated successfully, but these errors were encountered: