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

core 0.9.7 w/ router 0.2.0: app.core.js:2247 TypeError: Failed to resolve module specifier "@stencil/state-tunnel" #833

Closed
bitflower opened this issue May 31, 2018 · 2 comments
Assignees

Comments

@bitflower
Copy link
Contributor

bitflower commented May 31, 2018

Stencil version:

 @stencil/core@0.9.7
@stencil/router@0.2.0

I'm submitting a:

[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:
Updated to ´0.9.7´ from 0.9.4 and to router 0.2.0 from 0.1.7 getting this in the console:
bildschirmfoto 2018-05-31 um 20 30 45

Anything I need to adopt?

This is in app-load.js:
bildschirmfoto 2018-05-31 um 20 35 10

That second import looks strange?

In the build console:

[ WARN  ]  '@stencil/state-tunnel' is imported by node_modules/@stencil/router/dist/collection/global/active-router.js,
           but could not be resolved – treating it as an external dependency

Put this on slack as well:
https://stencil-worldwide.slack.com/archives/C789G3X1R/p1527791643000262

Expected behavior:
Compiles and runs without trouble as before ;-)

@jthoms1
Copy link
Member

jthoms1 commented May 31, 2018

Looks like the router has state-tunnel as a devDependency when it should just be a dependency. Releasing a new version.

@jthoms1
Copy link
Member

jthoms1 commented May 31, 2018

This issue was moved to stencil-community/stencil-router#51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants