Open Closed

Abp standart Dashboard page not loaded correctly #5067


User avatar
0
seyda created
  • ABP Framework version: v7.0.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Uncaught SyntaxError: Cannot use import statement outside a module (at chart.js?_v=638191645661040000:7:1) jquery.js?_v=638194282674360000:3773 jQuery.Deferred exception: Chart is not defined ReferenceError: Chart is not defined at Object.init (https://localhost:44327/Pages/Shared/Components/ErrorRateWidget/Default.js?_v=638097595980000000:32:13) at HTMLDivElement.<anonymous> (https://localhost:44327/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery/widget-manager.js?_v=638097281700000000:72:35) at Function.each (https://localhost:44327/libs/jquery/jquery.js?_v=638194282674360000:383:19) at jQuery.fn.init.each (https://localhost:44327/libs/jquery/jquery.js?_v=638194282674360000:205:17) at Object.init (https://localhost:44327/libs/abp/aspnetcore-mvc-ui-theme-shared/jquery/widget-manager.js?_v=638097281700000000:63:22) at HTMLDocument.<anonymous> (https://localhost:44327/Pages/HostDashboard.js?_v=638194308777321898:40:12) at mightThrow (https://localhost:44327/libs/jquery/jquery.js?_v=638194282674360000:3479:29) at process (https://localhost:44327/libs/jquery/jquery.js?_v=638194282674360000:3547:12) undefined jQuery.Deferred.exceptionHook @ jquery.js?_v=638194282674360000:3773 process @ jquery.js?_v=638194282674360000:3551 setTimeout (async) (anonymous) @ jquery.js?_v=638194282674360000:3592 fire @ jquery.js?_v=638194282674360000:3213 fireWith @ jquery.js?_v=638194282674360000:3343 fire @ jquery.js?_v=638194282674360000:3351 fire @ jquery.js?_v=638194282674360000:3213 fireWith @ jquery.js?_v=638194282674360000:3343 ready @ jquery.js?_v=638194282674360000:3834 completed @ jquery.js?_v=638194282674360000:3844 jquery.js?_v=638194282674360000:3783 Uncaught ReferenceError: Chart is not defined at Object.init (Default.js?_v=638097595980000000:32:13) at HTMLDivElement.<anonymous> (widget-manager.js?_v=638097281700000000:72:35) at Function.each (jquery.js?_v=638194282674360000:383:19) at jQuery.fn.init.each (jquery.js?_v=638194282674360000:205:17) at Object.init (widget-manager.js?_v=638097281700000000:63:22) at HTMLDocument.<anonymous> (HostDashboard.js?_v=638194308777321898:40:12) at mightThrow (jquery.js?_v=638194282674360000:3479:29) at process (jquery.js?_v=638194282674360000:3547:12)
  • Steps to reproduce the issue:
  • Create an application template with MVC UI
  • Add nothing additionally
  • After migration login with admin user
  • Click Dashboard
  • Charts are not loaded

9 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I will check this.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I can't reproduce it can you share the project?

    liming.ma@volosoft.com

  • User Avatar
    0
    seyda created

    Hi

    I've just sent you, thanks.

  • User Avatar
    0
    seyda created

    I've emailed you again, please remove the screenshot from your comment.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Thanks.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please copy the code from chart.umd.js to chart.js. or rename chart.umd.js to chart.js.

  • User Avatar
    0
    seyda created

    Ok I'll try and let you know. Could you please remove "Permission Required" screenshot from your previous comment this is important. and urgent.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Done

  • User Avatar
    0
    seyda created

    Thanks, it worked.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 01, 2025, 08:37