Select to view content in your preferred language

New Angular project with calcite-components-angular cannot find module

297
3
Jump to solution
06-20-2024 06:46 AM
Labels (1)
Robert_van_Gilst
Occasional Contributor

Hi,

Just revisiting Angular and Calcite, and want to use the "new" calcite-components-angular package. I created a new Angular project (v18.0) and added calcite following the guide.

I tried both

ng new testapp
ng new testapp --no-standalone

Because the standard method does not generate a app.module.ts

and followed the instructions on github 

Before adding the slider component the the application already gives me an an error:

Robert_van_Gilst_0-1718890676113.png

Robert_van_Gilst_1-1718890708573.png

Not sure how to fix this.

 

0 Kudos
2 Solutions

Accepted Solutions
KittyHurley
Esri Contributor

Apologies, Calcite's 2.9.0 Angular build was incomplete. There will be an upcoming minor release in the near future, but in the meantime you could use version 2.8.6.

View solution in original post

0 Kudos
KittyHurley
Esri Contributor
0 Kudos
3 Replies
KittyHurley
Esri Contributor

Apologies, Calcite's 2.9.0 Angular build was incomplete. There will be an upcoming minor release in the near future, but in the meantime you could use version 2.8.6.

0 Kudos
KittyHurley
Esri Contributor

@Robert_van_Gilst version 2.10.1 is now available.

0 Kudos
Robert_van_Gilst
Occasional Contributor

Thank you @KittyHurley it works like a charm 😊