carbon-tutorial-angular icon indicating copy to clipboard operation
carbon-tutorial-angular copied to clipboard

Getting error in npm start STEP 1

Open nsharma1989 opened this issue 5 years ago • 2 comments

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 avatar Feb 11 '20 19:02 nsharma1989

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.

nsharma1989 avatar Feb 11 '20 20:02 nsharma1989

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

LoveraSantiago avatar Apr 04 '20 00:04 LoveraSantiago