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.

bug: stencil, alias import not working when using stencil app

See original GitHub issue

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x

Current Behavior

When running "start": "stencil build --dev --watch --serve",, I get the following errors.

` [ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.js, but could not be resolved – treating it as an external dependency

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

[ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.js, but could not be resolved – treating it as an external dependency

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

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

[ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/utils/status-tap.js, but could not be resolved – treating it as an external dependency

[ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/utils/input-shims/input-shims.js, but could not be resolved – treating it as an external dependency

[ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/utils/input-shims/hacks/scroll-padding.js, but could not be resolved – treating it as an external dependency

[ WARN ] Bundling Warning UNRESOLVED_IMPORT ‘@utils/content’ is imported by ./node_modules/@ionic/core/dist/collection/utils/input-shims/hacks/scroll-assist.js, but could not be resolved – treating it as an external dependency `###

Expected Behavior

I should be able to use the latest version of @ionic/core with latest version of stencil as my UI library.

Steps to Reproduce

npm start in Stencil project.

Code Reproduction URL

No response

Ionic Info

N/A

Additional Information

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
selodevcommented, Apr 14, 2022

Thanks for resolving it so quick 😃

1reaction
liamdebeasicommented, Apr 14, 2022

Thanks for the issue. This has been resolved via https://github.com/ionic-team/ionic-framework/pull/25123, and a fix will be available in an upcoming release of Ionic Framework.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Stencil Config
Stencil is traditionally used to compile many components into an app, and each component comes with its own compartmentalized styles. However, it's still...
Read more >
Issue with alias in TypeScript and Webpack 3 - Stack Overflow
My problem is that, specifically and only for the "app/redux/app.ts" file, I cannot import using the following syntax: import { imp1, imp2 } ......
Read more >
Globals - Jest
In your test files, Jest puts each of these methods and objects into the global environment. You don't have to require or import...
Read more >
Installing an SSL certificate on Ubiquiti Unifi - Namecheap
Exception: Certificate not imported, alias <unifi> already exists' emerged because the installation process was repeated several times, and the corresponding ...
Read more >
5.0.3 Hotfix Released - Announcements - Unreal Engine Forums
If you experience a bug with the 5.0.3 Hotfix, please follow the How to ... Fix the problem by editing Engine\Config\BaseHardware.ini and ...
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