carbon-design-system / carbon-tutorial-angular

An Angular app for the Carbon Design System tutorial
20 stars 899 forks source link

Getting error in npm start STEP 1 #83

Open nsharma1989 opened 4 years ago

nsharma1989 commented 4 years ago

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,] }],`
nsharma1989 commented 4 years ago

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.

LoveraSantiago commented 4 years ago

I was having a problem with Ivy from angular 9. Downgrade to angular 8 helps me with this problem.