You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Project consist of angular+Storybook both->angular version 10 and storybook version 6.0.10. After upgrading angular version from 9 to 10 when I am running commands of storybook all the commands are executing successfully in my VSCode termial but after running npm run storybook when the localhost open I am seeing emod error in the storybook in browser. Approaches tried but nothing worked in our case:-
Deleted node_modules and run npm install then also error is coming in storybook.
Checked the imports also whether they are properly imported or not.
Deleted package.json and running the commands also not worked.
When I was running the storybook in Angular 9 the error was not there but after upgrading it to 10 it's showing emod error I am getting the following error-
The command did upgrade required dependencies to version 10 but threw error in browser after running npm run storybook. I tried looking for a solution on internet, but didn't find much.
The text was updated successfully, but these errors were encountered:
Project consist of angular+Storybook both->angular version 10 and storybook version 6.0.10. After upgrading angular version from 9 to 10 when I am running commands of storybook all the commands are executing successfully in my VSCode termial but after running npm run storybook when the localhost open I am seeing emod error in the storybook in browser. Approaches tried but nothing worked in our case:-
Deleted node_modules and run npm install then also error is coming in storybook.
Checked the imports also whether they are properly imported or not.
Deleted package.json and running the commands also not worked.
When I was running the storybook in Angular 9 the error was not there but after upgrading it to 10 it's showing emod error I am getting the following error-
Error: Type CardModule does not have 'ɵmod' property.
at getNgModuleDef (http://localhost:6006/vendors~main.a5a6658d3970dfcc7f63.bundle.js:58073:15)
at recurse (http://localhost:6006/vendors~main.a5a6658d3970dfcc7f63.bundle.js:80466:21)
at recurse (http://localhost:6006/vendors~main.a5a6658d3970dfcc7f63.bundle.js:80477:17)
at registerNgModuleType (http://localhost:6006/vendors~main.a5a6658d3970dfcc7f63.bundle.js:80462:5)
at new NgModuleFactory$1 (http://localhost:6006/vendors~main.a5a6658d3970dfcc7f63.bundle.js:80576:13)
at compileNgModuleFactory__POST_R3__ (http://localhost:6006/vendors~main.a5a6658d3970dfcc7f63.bundle.js:84125:27)
at PlatformRef.bootstrapModule (http://localhost:6006/vendors~main.a5a6658d3970dfcc7f63.bundle.js:84363:16)
at draw (http://localhost:6006/vendors~main.a5a6658d3970dfcc7f63.bundle.js:143727:32)
at push../node_modules/@storybook/angular/dist/client/preview/angular/helpers.js.exports.renderNgApp (http://localhost:6006/vendors~main.a5a6658d3970dfcc7f63.bundle.js:143740:9)
at StoryRenderer.render (http://localhost:6006/vendors~main.a5a6658d3970dfcc7f63.bundle.js:143832:15)
My Package.json looks like after upgrade to angular 10-
The command did upgrade required dependencies to version 10 but threw error in browser after running npm run storybook. I tried looking for a solution on internet, but didn't find much.
The text was updated successfully, but these errors were encountered: