Base solution for your next web application
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

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

10 Answer(s)
  • User Avatar
    0
    bilalhaidar created

    Any idea why this is happening?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    alper created
    Support Team

    hi

    you can see the related line on the screenshot

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    bilalhaidar created

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    bilalhaidar created

    OK I have it now. Still facing sane issue.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    bilalhaidar created

    I will give this a try and report back. Thanks

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @bilalhaidar.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)