Closed rpersaud closed 6 years ago
Actually the fix is https://github.com/danbucholtz/ionic/commit/2fbfd55cf07ec62767f8e1ba895786768d494cbf#diff-24fcc947660e79d1b2f094ec1b7dc3f5R13.
Have you tried with an updated package-lock.json
or after having deleted package-lock.json
?
Hi, I have a similar issue and I've tried to delete package-lock.json
but it doesn't help. To be more exact I've deleted node_modules
and package-lock.json
then I've run yarn install
.
For Yarn I can't help. But I've been able to downgrade to the previous version after having deleted the both resources you mention.
What packages did you downgrade?
i could never get it to work. dropped it for now and just used https://github.com/madskristensen/WebEssentials.AspNetCore.ServiceWorker for my PWA for now.
Thanks for the reply. I've found that instead of a downgrade it is enough to open node_modules/@ionic/core/dist/types/utils/overlays.d.ts
and change:
export declare function createOverlay<T extends HTMLIonOverlayElement & Requires<keyof B>, B>(element: T, opts: B): Promise<T>;
to:
export declare function createOverlay<T extends HTMLIonOverlayElement & Requires<string>, B>(element: T, opts: B): Promise<T>;
(like in the fork with fix that you mention earlier). That is not an ideal way of solving this issue (definitely not future-proof), but it seems to be fine till there will be an "official fix".
Hello all! This is an issue with @ionic/core@4.0.0-alpha.7
that has already been fixed and will be in the next release. For now I am going to downgrade this to use the alpha.6
release. Thanks for using Ionic!
This issue is present in the alpha.6 isn't it? I'm still getting it https://github.com/ionic-team/ionic/blob/v4.0.0-alpha.6/core/src/utils/overlays.ts
I'm getting this. Was hoping to give it a run, but this is a showstopper.
Resources: Before submitting an issue, please consult our docs.
Stencil version: (run
npm list @stencil/core
from a terminal/cmd prompt and paste output below):I'm submitting a ... (check one with "x") [x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com
Current behavior: I get a single error when trying to build (against node v10.0.0) -
npm run build
Expected behavior: I fixed by editing node_modules/@ionic/core/dist/types/utils/overlays.d.ts based on https://github.com/ionic-team/ionic/commit/87fe5ce3a8fa65b83d798818f96d5f01781ac3e6#diff-24fcc947660e79d1b2f094ec1b7dc3f5. I've cleaned my node_modules couple times and reinstalled to latest ionic-core, and still get the error. So the expected behavior is for this change made 18 days ago yet tags were cut 15 days ago to be in sync?
Other information:
Here's my package.json -