-
Notifications
You must be signed in to change notification settings - Fork 787
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
TypeError: scriptElm is undefined #2500
Comments
I don't know if you fixed your problem (hope so) but for other people facing this kind of issue : If you look closely into the snippet vandres gave us, you have a fallback (not officially documented ?) :
For me, adding the |
Hey folks 👋 I apologize that it took so long for someone on the team to respond to this issue. There are two ways Given this took so long for the team to respond to, if this is still an issue, and anyone is willing/able to create a minimal reproduction case for the team to take a look at, we'd greatly appreciate it. In the mean time, I've tagged ionic-team/stencil-site#777 to get it ingested into our backlog. Thanks! |
Thanks for the issue! This issue has been labeled as Please reproduce this issue in an Stencil starter component library and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed. If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue. For a guide on how to create a good reproduction, see our Contributing Guide. |
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Stencil, please create a new issue and ensure the template is fully filled out. Thank you for using Stencil! |
Stencil version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
I am using Stencil just for components. I include my scripts in a server side technology (Twig) to bind the asset cache to the template cache there:
Then there is an .htaccess, which rewrites these files to the normal filename.
Having this setup, I always get the error message
TypeError: scriptElm is undefined
, which comes from this code:Is there anyway to include these JS files the way I do? In Version 1.9.2 this technique was working.
The text was updated successfully, but these errors were encountered: