Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Error in Angular 4 app - Dashboard #3683


User avatar
0
bilalhaidar created

Hi, Sometimes I am getting errors in the console when opening the application. I've added a snapshot to have a better look at the problem I am having.

Thanks Bilal


10 Answer(s)
  • User Avatar
    0
    bilalhaidar created

    Any idea why this is happening?

  • User Avatar
    0
    alper created
    Support Team

    hi

    i downloaded a fresh copy and test several time. no defect detected. can you ensure the horizontal-timeline.js still included in angular-cli.json if you replaced horizontal-timeline.js with the original one from the related github repo you'll encounter this error. because aspnet zero team has made some additional development for horizontalTimeline. If you don't use that feature, you can completely remove this feature.

  • User Avatar
    0
    bilalhaidar created

    I don't have this file in the angular-cli.json.

    Can you guide me on how to remove this feature?

    Thanks

  • User Avatar
    0
    alper created
    Support Team

    hi

    you can see the related line on the screenshot

  • User Avatar
    0
    bilalhaidar created

    In that location I don't have the file horizontal-timeline.js!

  • User Avatar
    0
    alper created
    Support Team

    There should be the file shown in the screenshot. I just downloaded a fresh copy of AspNet Core + Angular and I can verify that there's this file.

  • User Avatar
    0
    bilalhaidar created

    OK I have it now. Still facing sane issue.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @bilalhaidar,

    Can you download a fresh copy and see if this happens on that one ? I'm trying to figure out if this happens out of the box or is it something related to your project.

    Thanks.

  • User Avatar
    0
    bilalhaidar created

    I will give this a try and report back. Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @bilalhaidar.