Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unresolved Import warnings when building in Stencil for latest date changes #26908

Closed
joewoodhouse opened this issue Mar 3, 2023 · 2 comments · Fixed by #26909
Closed

Unresolved Import warnings when building in Stencil for latest date changes #26908

joewoodhouse opened this issue Mar 3, 2023 · 2 comments · Fixed by #26909
Labels
package: core @ionic/core package type: bug a confirmed bug report

Comments

@joewoodhouse
Copy link
Contributor

import { printIonError } from '@utils/logging';

When building with @ionic/[email protected] and @stenci/core get following warning:

[ WARN  ]  Bundling Warning UNRESOLVED_IMPORT
           '@utils/logging' is imported by
           ./node_modules/@ionic/core/dist/collection/components/datetime/utils/state.js, but could not be resolved –
           treating it as an external dependency

And runtime issues

Think the above line should be

import { printIonError } from '../../utils/logging';

These errors have been introduced quite a few times in the past, I wonder if there's some sort of lint check you can do to make sure they aren't re-introduced?

@ionitron-bot ionitron-bot bot added the triage label Mar 3, 2023
@liamdebeasi liamdebeasi self-assigned this Mar 3, 2023
@liamdebeasi liamdebeasi added package: core @ionic/core package type: bug a confirmed bug report labels Mar 3, 2023
@ionitron-bot ionitron-bot bot removed the triage label Mar 3, 2023
@liamdebeasi liamdebeasi removed their assignment Mar 3, 2023
@liamdebeasi
Copy link
Contributor

Thanks for the issue. This has been resolved via #26909, and a fix will be available in an upcoming release of Ionic Framework.

@ionitron-bot
Copy link

ionitron-bot bot commented Apr 5, 2023

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Apr 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: core @ionic/core package type: bug a confirmed bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants