goetzrobin / spartan

Cutting-edge tools powering Angular full-stack development.
https://spartan.ng
MIT License
1.13k stars 123 forks source link

Help - Cannot find module '@spartan-ng/ui-icon-helm' or its corresponding type declarations. #211

Closed HiddenWally closed 3 months ago

HiddenWally commented 4 months ago

Please provide the environment you discovered this bug in.

Production

Which area/package is the issue in?

accordion

Description

Nobles, I hope you are all well!

I have a problem installing the accordion with this error

image image image

This error was explicitly following the website's tutorial, I am using the most current Angular 17 node: v20.11.0 npm: v10.2.4

 Cannot find module '@spartan-ng/ui-icon-helm' or its corresponding type declarations

Please provide the exception or error you saw

Cannot find module '@spartan-ng/ui-icon-helm' or its corresponding type declarations

Other information

No response

I would be willing to submit a PR to fix this issue

goetzrobin commented 4 months ago

You'll have to use the cli to install the icon primtive. This should happen automatically. I'll work on that!

WalissonCF commented 3 months ago

@goetzrobin which CLI command to install the icon?

goetzrobin commented 3 months ago

The spartan cli r did you copy and paste the code directly from the website?

WalissonCF commented 3 months ago

@goetzrobin Yes that's right

goetzrobin commented 3 months ago

This is fixed in the newest release of the CLI

goetzrobin commented 3 months ago

@WalissonCF closing this issue for now. If you still see this issue occurring with the newest CLI version, please reopen