question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v4: upgrade to alpha.8 seems to broken

See original GitHub issue

Describe the Bug Upgrading only @ionic/core to alpha.8 does not work as expected. We are running into this errors

ERROR in node_modules/@ionic/core/dist/types/components/gesture-controller/gesture-controller.d.ts(1,30): error TS2307: Cannot find module '@stencil/core'.
[ng] node_modules/@ionic/core/dist/types/components/menu/menu.d.ts(1,51): error TS2307: Cannot find module '@stencil/core'.
[ng] node_modules/@ionic/core/dist/types/components/nav/nav.d.ts(1,40): error TS2307: Cannot find module '@stencil/core'.
[ng] node_modules/@ionic/core/dist/types/components/toast/toast.d.ts(1,30): error TS2307: Cannot find module '@stencil/core'.
[ng] node_modules/@ionic/core/dist/types/utils/helpers.d.ts(1,30): error TS2307: Cannot find module '@stencil/core'.
[ng] node_modules/@ionic/core/dist/types/utils/input-interface.d.ts(1,30): error TS2307: Cannot find module '@stencil/core'.
[ng] node_modules/@ionic/core/dist/types/utils/overlays.d.ts(1,30): error TS2307: Cannot find module '@stencil/core'

Probably there is something missing? Can you also update your starter templates with latest requirements?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
brandyscarneycommented, Jul 10, 2018

@MT-- Yes we have updated the starters to use alpha.9! If you ever want to compare your app to the current base you can find the starter here: https://github.com/ionic-team/starters/tree/master/angular/base

You should be able to update the version number and import the new external css files and be good to go. If you are just using @ionic/core without angular it would be the following imports:

@import "~@ionic/core/css/normalize.css";
@import "~@ionic/core/css/structure.css";
@import "~@ionic/core/css/typography.css";
@import "~@ionic/core/css/colors.css";

@import "~@ionic/core/css/padding.css";
@import "~@ionic/core/css/float-elements.css";
@import "~@ionic/core/css/text-alignment.css";
@import "~@ionic/core/css/text-transformation.css";
@import "~@ionic/core/css/flex-utils.css";

and the @ionic/angular version will be the following, but we found that the css didn’t get published for this package, so we’re working to get a new release out with it published. 😓

@import "~@ionic/angular/css/normalize.css";
@import "~@ionic/angular/css/structure.css";
@import "~@ionic/angular/css/typography.css";
@import "~@ionic/angular/css/colors.css";

@import "~@ionic/angular/css/padding.css";
@import "~@ionic/angular/css/float-elements.css";
@import "~@ionic/angular/css/text-alignment.css";
@import "~@ionic/angular/css/text-transformation.css";
@import "~@ionic/angular/css/flex-utils.css";

In the meantime pointing to the @ionic/core for the css (my first code block) should work.

3reactions
brandyscarneycommented, Jul 10, 2018

We have released an alpha.9 version that should be working much better. We’re going to be releasing an alpha.10 with some more fixes later today. Let me know if you still see these particular errors with alpha.9 though! Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

v4: upgrade to alpha.8 seems to broken · Issue #14746 - GitHub
Thanks for the issue! Alpha 8 is definitely broken. We don't recommend using it at this time. We're currently working on getting an...
Read more >
My game is broken, HELP!! | Asphalt 8 - ProBoards
I tried everything. After re-installing everything seems to work again,until the game is closed and re-opened. Expired TLEs can't be claimed, ...
Read more >
Dev snapshot: Godot 4.0 alpha 8
There will likely be breaking changes between this release and the first beta release.
Read more >
Fractured Online Is Moving Into Closed Development As It ...
Fractured Online Is Moving Into Closed Development As It Seems Relationship With Gamigo Has Broken Down. Early Access MMORPG Fractured ...
Read more >
Broken Sony FE 70-200mm F4 after drop - DPReview
Sony FE 35mm F1.4 Sony a7R III Sony FE 90mm F2.8 macro Sony FE 24-70mm F2.8 GM Sony FE 85mm ... Seems like...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found