Open Closed

Multiple errors after updating to 8.2 in project created from ABP Studio #7795


User avatar
0
Navneet@aol.com.au created
  • ABP Framework version: v8.2.2
  • UI Type: MVC
  • Database System: EF Core (MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi Team,

I have updated ABP as per below:

  1. dotnet tool uninstall -g Volo.Abp.Cli
  2. dotnet tool install -g Volo.Abp.Studio.Cli
  3. abp suite update
  4. Downloaded new ABP Studio and Installed on my Mac M2

Created a new solution via ABP studio - Ok Run dotnet build - ok Migration Successful - ok

Now I am getting the below errors:

  1. From ABP studio if I click on "abp Install libs" I am getting the error: 21:52:03.616 Information Starting task execution: "Installing libs: TechDB.Licensing.Web" 21:52:03.617 Information Failed task execution: "Installing libs: TechDB.Licensing.Web" 21:52:03.617 Information ERROR: "An error has occured!" 21:52:03.617 Information ERROR DETAILS: "An internal error occurred during your request!" 21:52:03.617 Error Failed to start a process with file path 'abp'. Target file or working directory doesn't exist, or the provided credentials are invalid.

  2. From ABP studio if I click on open with VS Code, I am getting the error: (Please note, VS Code is already up-to-date) Visual Studio Code is not found. Please check if it is installed correctly according to the official VS Code(https://code.visualstudio.com/docs/editor/command-line#_code-is-not-recognized-as-an-internal-or-external-command) document.

  3. when I am running the project via studio, getting errors: (please note docket is already running) 22:05:18.255 Error Error response from daemon: network with name licensing already exists The file /usr/local/bin/docker-compose does not exist. 22:05:17.974 Information Starting the application: Docker-Dependencies 22:05:18.255 Information ./up.ps1 exited with code: 1 22:05:18.256 Information Application could not be started: Docker-Dependencies 22:05:18.261 Warning Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown. 22:05:18.261 Warning Code:AbpStudio:CliApplicationStartFailed 22:05:18.261 Warning Details: 22:05:18.261 Warning ---------- Exception Data ---------- Command = ./up.ps1

  4. if I run the project from the terminal, I am getting errors in the console: (index):20 Could not find the bundle file '/libs/abp/core/abp.css' for the bundle 'LeptonX.Global'! (index):21 Could not find the bundle file '/libs/@fortawesome/fontawesome-free/css/all.css' for the bundle 'LeptonX.Global'! (index):22 Could not find the bundle file '/libs/@fortawesome/fontawesome-free/css/v4-shims.css' for the bundle 'LeptonX.Global'! (index):1974 Could not find the bundle file '/libs/abp/utils/abp-utils.umd.min.js' for the bundle 'LeptonX.Global'! (index):1975 Could not find the bundle file '/libs/abp/core/abp.js' for the bundle 'LeptonX.Global'! (index):1977 Could not find the bundle file '/libs/abp/jquery/abp.jquery.js' for the bundle 'LeptonX.Global'! (index):1978 Could not find the bundle file '/libs/bootstrap/js/bootstrap.bundle.js' for the bundle 'LeptonX.Global'! (index):1982 Could not find the bundle file '/libs/jquery-form/jquery.form.min.js' for the bundle 'LeptonX.Global'! (index):1984 Could not find the bundle file '/libs/datatables.net/js/jquery.dataTables.js' for the bundle 'LeptonX.Global'! dataTables.bootstrap5.js?_v=638606126904322053:62 Uncaught TypeError: Cannot read properties of undefined (reading 'defaults') at dataTables.bootstrap5.js?_v=638606126904322053:62:27 at dataTables.bootstrap5.js?_v=638606126904322053:44:3 at dataTables.bootstrap5.js?_v=638606126904322053:46:2 (anonymous) @ dataTables.bootstrap5.js?_v=638606126904322053:62 (anonymous) @ dataTables.bootstrap5.js?_v=638606126904322053:44 (anonymous) @ dataTables.bootstrap5.js?_v=638606126904322053:46Understand this error (index):1989 Could not find the bundle file '/libs/luxon/luxon.min.js' for the bundle 'LeptonX.Global'! (index):1990 Could not find the bundle file '/libs/abp/luxon/abp.luxon.js' for the bundle 'LeptonX.Global'! ui-extensions.js?_v=638592122120000000:297 Uncaught TypeError: Cannot read properties of undefined (reading 'on') at ui-extensions.js?_v=638592122120000000:297:15 at ui-extensions.js?_v=638592122120000000:301:3 (anonymous) @ ui-extensions.js?_v=638592122120000000:297 (anonymous) @ ui-extensions.js?_v=638592122120000000:301Understand this error widget-manager.js?_v=638592122120000000:139 Uncaught TypeError: Cannot read properties of undefined (reading 'onNodeAdded') at widget-manager.js?_v=638592122120000000:139:13 at widget-manager.js?_v=638592122120000000:147:3 (anonymous) @ widget-manager.js?_v=638592122120000000:139 (anonymous) @ widget-manager.js?_v=638592122120000000:147Understand this error dom-event-handlers.js?_v=638592122120000000:206 Uncaught TypeError: abp.dom.onNodeAdded is not a function at dom-event-handlers.js?_v=638592122120000000:206:13 at dom-event-handlers.js?_v=638592122120000000:238:3 (anonymous) @ dom-event-handlers.js?_v=638592122120000000:206 (anonymous) @ dom-event-handlers.js?_v=638592122120000000:238Understand this error datatables-extensions.js?_v=638592122120000000:4 Uncaught TypeError: Cannot read properties of undefined (reading 'createNamespace') at datatables-extensions.js?_v=638592122120000000:4:32 at datatables-extensions.js?_v=638592122120000000:553:3 (anonymous) @ datatables-extensions.js?_v=638592122120000000:4 (anonymous) @ datatables-extensions.js?_v=638592122120000000:553Understand this error abp-sweetalert2.js?_v=638592122120000000:58 Uncaught TypeError: Cannot set properties of undefined (setting 'info') at abp-sweetalert2.js?_v=638592122120000000:58:22 at abp-sweetalert2.js?_v=638592122120000000:121:3 (anonymous) @ abp-sweetalert2.js?_v=638592122120000000:58 (anonymous) @ abp-sweetalert2.js?_v=638592122120000000:121Understand this error abp-toastr.js?_v=638592122120000000:18 Uncaught TypeError: Cannot set properties of undefined (setting 'success') at abp-toastr.js?_v=638592122120000000:18:24 at abp-toastr.js?_v=638592122120000000:34:3 (anonymous) @ abp-toastr.js?_v=638592122120000000:18 (anonymous) @ abp-toastr.js?_v=638592122120000000:34Understand this error date-range-picker-extensions.js?_v=638592122120000000:748 Uncaught TypeError: abp.dom.onNodeAdded is not a function at date-range-picker-extensions.js?_v=638592122120000000:748:13 at date-range-picker-extensions.js?_v=638592122120000000:755:3 (anonymous) @ date-range-picker-extensions.js?_v=638592122120000000:748 (anonymous) @ date-range-picker-extensions.js?_v=638592122120000000:755Understand this error account-proxy.js?_v=638592371580000000:12 Uncaught TypeError: abp.utils.createNamespace is not a function at account-proxy.js?_v=638592371580000000:12:15 at account-proxy.js?_v=638592371580000000:182:5 at account-proxy.js?_v=638592371580000000:477:3 (anonymous) @ account-proxy.js?_v=638592371580000000:12 (anonymous) @ account-proxy.js?_v=638592371580000000:182 (anonymous) @ account-proxy.js?_v=638592371580000000:477Understand this error account-authority-delegation-global.js?_v=638592371980000000:5 Uncaught TypeError: Cannot read properties of undefined (reading 'getResource') at account-authority-delegation-global.js?_v=638592371980000000:5:30 at account-authority-delegation-global.js?_v=638592371980000000:175:3 (anonymous) @ account-authority-delegation-global.js?_v=638592371980000000:5 (anonymous) @ account-authority-delegation-global.js?_v=638592371980000000:175Understand this error account-link-user-global.js?_v=638592371980000000:5 Uncaught TypeError: Cannot read properties of undefined (reading 'getResource') at account-link-user-global.js?_v=638592371980000000:5:30 at account-link-user-global.js?_v=638592371980000000:122:3 (anonymous) @ account-link-user-global.js?_v=638592371980000000:5 (anonymous) @ account-link-user-global.js?_v=638592371980000000:122Understand this error audit-log-global.js?_v=638592374140000000:2 Uncaught TypeError: Cannot read properties of undefined (reading 'getResource') at audit-log-global.js?_v=638592374140000000:2:30 at audit-log-global.js?_v=638592374140000000:34:3 (anonymous) @ audit-log-global.js?_v=638592374140000000:2 (anonymous) @ audit-log-global.js?_v=638592374140000000:34Understand this error auditLogging-proxy.js?_v=638592374140000000:12 Uncaught TypeError: abp.utils.createNamespace is not a function at auditLogging-proxy.js?_v=638592374140000000:12:15 at auditLogging-proxy.js?_v=638592374140000000:70:5 at auditLogging-proxy.js?_v=638592374140000000:112:3 (anonymous) @ auditLogging-proxy.js?_v=638592374140000000:12 (anonymous) @ auditLogging-proxy.js?_v=638592374140000000:70 (anonymous) @ auditLogging-proxy.js?_v=638592374140000000:112Understand this error lepton-x.bundle.min.js?_v=638592475200000000:2 Uncaught ReferenceError: bootstrap is not defined at 306 (lepton-x.bundle.min.js?_v=638592475200000000:2:71902) at n (lepton-x.bundle.min.js?_v=638592475200000000:2:72011) at 12 (lepton-x.bundle.min.js?_v=638592475200000000:2:19279) at n (lepton-x.bundle.min.js?_v=638592475200000000:2:72011) at 848 (lepton-x.bundle.min.js?_v=638592475200000000:2:32941) at n (lepton-x.bundle.min.js?_v=638592475200000000:2:72011) at 524 (lepton-x.bundle.min.js?_v=638592475200000000:2:18999) at n (lepton-x.bundle.min.js?_v=638592475200000000:2:72011) at lepton-x.bundle.min.js?_v=638592475200000000:2:72378 at lepton-x.bundle.min.js?_v=638592475200000000:2:72396 306 @ lepton-x.bundle.min.js?_v=638592475200000000:2 n @ lepton-x.bundle.min.js?_v=638592475200000000:2 12 @ lepton-x.bundle.min.js?_v=638592475200000000:2 n @ lepton-x.bundle.min.js?_v=638592475200000000:2 848 @ lepton-x.bundle.min.js?_v=638592475200000000:2 n @ lepton-x.bundle.min.js?_v=638592475200000000:2 524 @ lepton-x.bundle.min.js?_v=638592475200000000:2 n @ lepton-x.bundle.min.js?_v=638592475200000000:2 (anonymous) @ lepton-x.bundle.min.js?_v=638592475200000000:2 (anonymous) @ lepton-x.bundle.min.js?_v=638592475200000000:2Understand this error style-initializer.js?_v=638592475200000000:25 Uncaught TypeError: Cannot read properties of undefined (reading 'CSSLoadEvent') at style-initializer.js?_v=638592475200000000:25:13 at style-initializer.js?_v=638592475200000000:55:3 (anonymous) @ style-initializer.js?_v=638592475200000000:25 (anonymous) @ style-initializer.js?_v=638592475200000000:55Understand this error ApplicationConfigurationScript:471 Uncaught TypeError: Cannot read properties of undefined (reading 'trigger') at ApplicationConfigurationScript:471:11 at ApplicationConfigurationScript:473:3 (anonymous) @ ApplicationConfigurationScript:471 (anonymous) @ ApplicationConfigurationScript:473Understand this error ServiceProxyScript:12 Uncaught TypeError: abp.utils.createNamespace is not a function at ServiceProxyScript:12:15 at ServiceProxyScript:21:5 at ServiceProxyScript:23:3 (anonymous) @ ServiceProxyScript:12 (anonymous) @ ServiceProxyScript:21 (anonymous) @ ServiceProxyScript:23Understand this error (index):2031 Uncaught TypeError: Cannot read properties of undefined (reading 'globalConfig') at (index):2031:17 (anonymous) @ (index):2031Understand this error

Please suggest what I can do to fix this

many thx, Navneet


3 Answer(s)
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi @Navneet

    Is PowerShell installed in your system as dotnet tool? (dotnet tool list -g)

    if I run the project from the terminal, I am getting errors in the console:

    You can try running abp install-libs from the terminal before running the solution.

  • User Avatar
    0
    Navneet@aol.com.au created

    Hi Yekalkan,

    Yes, the PowerShell is already installed.

    From the terminal, I can run abp install-libs, however, from Studio I cannot do it.

    Also, the Module Template is missing from studio.

    One more bug: when I created a layered application and Unchecked OpenIddict UI, it was still added to the project, so Unchecking is not working in v8.2.2

    Thanks, Navneet

  • User Avatar
    0
    berkansasmaz created
    Support Team .NET Developer

    Hello,

    Yes, the PowerShell is already installed.

    From the terminal, I can run abp install-libs, however, from Studio I cannot do it.

    I don't know which version of ABP Studio you are using, but somehow it seems to me that ABP Studio cannot access environment variables and binary files because it is not permitted. Can you run the following command in the terminal and try again to understand this?

    sudo open /Applications/ABP\ Studio.app

    Also, the Module Template is missing from studio.

    Yes, it is a design decision. We can add it in the future, but for now, if you want to proceed through Studio, you can create an empty solution and add modules to it or you can use CLI directly.

    One more bug: when I created a layered application and Unchecked OpenIddict UI, it was still added to the project, so Unchecking is not working in v8.2.2

    Thanks for reporting the issue, we will try to fix this issue in the next version.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09