carbon-tutorial-angular
carbon-tutorial-angular copied to clipboard
Getting error in npm start STEP 1
Hi After importing UI shell and pages on running npm start I get the following errors
`ERROR in Failed to compile entry-point carbon-components-angular (main as commonjs) due to compilation errors:
node_modules/carbon-components-angular/accordion/accordion.component.js:59:52 - error NG1010: @ContentChildren predicate cannot be interpreted
59 children: [{ type: ContentChildren, args: [AccordionItem,] }],`
Was finally able to resolve the issue by using angular version 8. Please add it as a prerequisite to install angular ~8 if starting from scratch.
I was having a problem with Ivy from angular 9. Downgrade to angular 8 helps me with this problem.