Base solution for your next web application
Open Closed

Property 'baseLanguageName' does not exist on type #4006


User avatar
0
mmukkara created

Hi,
When I run ng build -prod on Angular Project.
I get this error "Property 'baseLanguageName' does not exist on type 'DemoUiSelectionComponent'."

Can you please help me how to fix this issue or any one encountered this issue.
I am getting couple of similar messages like "Property 'onShown' does not exist on type.." on our components too.

Thanks


6 Answer(s)
  • User Avatar
    0
    mmukkara created

    Fixed most of our component issues.
    "Property 'baseLanguageName' does not exist on type 'DemoUiSelectionComponent'." this needs to be fixed in ANZ.

    Thanks
    Mahesh

  • User Avatar
    0
    aaron created
    Support Team

    Can you show the full error?

  • User Avatar
    0
    mmukkara created

    Here you go...Ng build -prod produces this error..see attached.
    PropertyType Issue.PNG

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @mmukkara,

    Have you modified demo-ui-selection.component.html ?
    Can you share it's content with us ? As far as I checked, there was not baseLanguageName in it.

    Thanks.

  • User Avatar
    0
    mmukkara created

    Sorry, my bad. I copied another control to compare the functionality and it has ngModal with baseLanguageName. Apologize for the mistake.

  • User Avatar
    0
    ismcagdas created
    Support Team

    I'm glad that it's fixed for you @mmukkara :)