-
Notifications
You must be signed in to change notification settings - Fork 2k
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
In Firefox: shadycss is undefined #4739
Comments
So you shouldn't use webcomponents^1.0.3. Instead you should explicitly depend on webcomponents^1.0.1 until this issue in webcomponents is fixed, when you are using polymer. |
I got the same problem with my app. The app includes Polymer v2.0.2 and so it also includes Here is what I tried in
So the problem seems fixed, but my app still doesn't work on IE 11. The browser console prints out the following error:
|
Downgrading to Polymer 2.0.1 and webcomponentsjs 1.0.1 did stop the error However, I'm now getting the same error as @First87 regarding custom elements already being defined. This is solved by building with |
@shawnd |
@First87 Agreed, I need to be able to bundle as well so this isn't a solution. This is simply a work around for the team being. |
@shawnd Though it can't be a solution to me, I tried to build with |
@First87 I simply removed the caret
|
Should be fixed by https://github.com/webcomponents/webcomponentsjs/releases/tag/v1.0.4. Please re-open with more info if the problem persists. |
@sorvell I could upgrade webcomponentsjs to v1.0.4, but it still doesn't work on IE and the browser console prints out the same error in the following:
|
@First87 what worked for me looks in the dependencies like: {
...
"dependencies": {
"polymer": "polymer/polymer#2.0.2",
"app-layout": "polymerelements/app-layout",
"datetime-picker": "fooloomanzoo/datetime-picker",
"fetch": "*",
"es6-promise": "*",
"webcomponentsjs": "webcomponentsjs#1.0.1"
},
"devDependencies": {
"web-component-tester": "^6.0.0-prerelease.6"
},
"resolutions": {
"polymer": "1.9 - 2",
"webcomponentsjs": "^v1.0.1"
}
...
} |
@fooloomanzoo my concern with your dependencies is that you're using Polymer 2.0.2, but it depends on webcomponentsjs 1.0.2 and you're using 1.0.1 https://github.com/Polymer/polymer/releases/tag/v2.0.2 |
@shawnd it is working completely in my case. The update procedure depends on how bower is managing an install or update request. It can only be temporarely because It makes sense to update your depencies until you release something. But there is also now an update out (webcomponents 1.0.4), so that could solve this bug, let's see |
@First87 webcomponentsjs v1.0.4 in IE11 are just working for me in compiled version |
Yup @fooloomanzoo 1.0.4 was released to address the aforementioned problems. |
@shawnd redundant |
@fooloomanzoo @shawnd |
@First87 I have to correct my answer. I don't get the same error message like you, but I get messages that |
In Polymer^2.0.2 and the related update to webcomponents^1.0.3 when using Firefox, this error occures:
TypeError: a.__shady is undefined
see webcomponentsjs/issues/811
The text was updated successfully, but these errors were encountered: