Doesn't work with Angular 11
See original GitHub issueDescribe the bug
I select any story but it is not rendered at the canvas.
To Reproduce
I followed the instructions from https://storybook.js.org/docs/angular/get-started/
, I can navigate to http://localhost:6006/
and browse the EXAMPLE
folder, but my stories are not renderized at the canvas.
Expected behavior
I can see both Active
and Inactive
stories at the sidebar, but when I select one of them nothing is renderized at the canvas as expected.
Screenshots
Code snippets
survey-card.stories.ts
import { SurveyCardComponent } from './survey-card.component';
export default {
title: 'Survey/Card',
component: SurveyCardComponent,
};
export const Active = () => ({
component: SurveyCardComponent,
props: {
id: 1,
surveyName: 'My Survey Active',
nps: 70,
customers: 32000,
responses: 15000,
active: true,
},
});
export const Inactive = () => ({
component: SurveyCardComponent,
props: {
id: 1,
surveyName: 'My Survey Inactive',
nps: 70,
customers: 32000,
responses: 15000,
active: false,
},
});
System
System:
OS: macOS 10.15.6
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Binaries:
Node: 14.15.1 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
Browsers:
Chrome: 88.0.4324.96
Firefox: 78.0.2
Safari: 14.0
npmPackages:
@storybook/addon-actions: ^6.1.14 => 6.1.14
@storybook/addon-essentials: ^6.1.14 => 6.1.14
@storybook/addon-links: ^6.1.14 => 6.1.14
@storybook/angular: ^6.1.14 => 6.1.14
and Angular 11
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
ng serve/build not working after angular upgrading from 11 to ...
As I was using angular 11 which was having a slow build then I decided to upgrade it to 13 now it doesn't...
Read more >Does not work with Angular 11 · Issue #114 - GitHub
I am trying to test FusionCharts and I followed web page instructions for installing: npm install fusioncharts angular-fusioncharts --save ...
Read more >Why your Angular App is not Working: 11 common Mistakes
Why your Angular App is not Working: 11 common Mistakes. Resolving problems of your angular application can be very challenging.
Read more >Add services - Angular
Services are a great way to share information among classes that don't know ... This approach won't work in a real application that...
Read more >How To Fix Your Angular App When It's Not Working in IE11
Using polyfills to support new features in older browsers · Missing polyfills in polyfills.ts . · Using a TypeScript target version which IE11...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
BINGO!
it worked! Thank you @ChazUK!
After upgrade, I can see the following error at the canvas: