-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
addon-info returning "Uncaught TypeError: template.asWrappedLayout is not a function" #5036
Comments
If you leave only an info addon configured, does the error remain? |
hi @igor-dv. i tried removing everything else and just using the info addon and i am still getting the same error. |
@transitorytammy can you comment the version of ember you are using and the story code? |
@gabrielcsapo I am on Ember 3.14
|
I had this error too in my Ember app that uses React. My parent Ember component had layout property set to a string. This stopped working after upgrading Ember. In my case I was simply able to remove the overridden layout and fallback to default layout. |
@ilkkao where did you "remove the overridden layout"? just wondering what file you are talking about adjusting to fix the issue. thanks. |
I was talking about my Ember component. https://www.emberjs.com/api/ember/release/classes/Component I'm not sure what the context is here. I just saw the exact same error message in my Ember app and this PR was the only hit when I googled it. Please ignore my comment if you are not using Ember components here. |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
@transitorytammy Closing this for now. |
@ilkkao I am having the same issue in Ember, I am new in Ember, could you pass me an example of how did you solve it? |
@tau150 in my case it was ember component with |
|
Describe the bug
I am trying to add
@storybook/addon-info
to my ember storybook repo.This is what my
.storybook/config.js
file looks like.When I go to
http://localhost:9001/
, I see this error in the console and my elements don't load on the page.To Reproduce
Steps to reproduce the behavior:
.storybook/config
and addimport { withInfo } from "@storybook/addon-info";
andaddDecorator(withInfo);
to the file.npm run storybook
http://localhost:9001
and open console to see errorExpected behavior
I expect no error and to be able to use
addon-info
System:
The text was updated successfully, but these errors were encountered: