You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v4.x
v5.x
v6.x
Nightly
Current Behavior
Using @ionic/core in a Stencil app will result in an error when using ion-datetime with v6.1.12 and later.
The following exception occurs:
TypeError: Failed to resolve module specifier "@utils/logging". Relative references must start with either "/", "./", or "../". undefined
Uncaught (in promise) Error: Constructor for "ion-datetime#undefined" was not found
at initializeComponent (index-163bbb8a.js:2040:23)
Stencil will additionally warn:
[ WARN ] Bundling Warning UNRESOLVED_IMPORT
'@utils/logging' is imported by
./node_modules/@ionic/core/dist/collection/components/datetime/utils/comparison.js, but could not be
resolved – treating it as an external dependency
Expected Behavior
Datetime should display within a Stencil application.
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.
Prerequisites
Ionic Framework Version
Current Behavior
Using
@ionic/core
in a Stencil app will result in an error when usingion-datetime
with v6.1.12 and later.The following exception occurs:
Stencil will additionally warn:
Expected Behavior
Datetime should display within a Stencil application.
Steps to Reproduce
@ionic/core
in a Stencil appion-datetime
to your templateCode Reproduction URL
https://github.com/sean-perkins/stencil-ion-datetime
Ionic Info
Ionic Core: 6.1.12+
Additional Information
Split from: #25588 (comment)
The text was updated successfully, but these errors were encountered: