Activities of "tomasz.lewandowski@neuca.pl"

  • ABP Framework version: v4.3.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hey, I have a problem with docker. When I run docker container with backend and try open hangfire UI I have got 500 error. It looks like I have two problems. First with unauthorize access (401) to the hangfire UI. And second with Leptone css files in docker. Everything other works fine and it's look like a problem with LeptonTheme (I have imported LeptoneTheme to my solution). I don't know why docker don't see lepton files. When I publish app normaly to the folder and host it on iis server I don't have this problem. Do you have any ideas?

Answer

Create new CRUD by CRUD Generator

ABP Framework version: v4.3.0 UI type: Angular DB provider: EF Core **Tiered (MVC) or Identity Server Separated (Angular): **no

When I create a new CRUD entity I get this error:

[11:40:08 INF] Running the Angular Schematics command: npx "C:/Workspace/OrderManagementSystem/src/angular/.suite/schematics/node_modules/.bin/ng" g ".suite/schematics/collection.json:entity" app-pro Neuca.OrderManagementSystem "C:/Workspace/OrderManagementSystem/src/aspnet-core/.suite/entities/Sample.json" [11:40:18 INF] Angular Schematics command failed. npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:/Workspace/OrderManagementSystem/src/angular/.suite/schematics/node_modules/.bin/ng/package.json npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, open 'C:\Workspace\OrderManagementSystem\src\angular.suite\schematics\node_modules.bin\ng\package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

Answer
  • ABP Framework version: v4.1.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Steps to reproduce the issue:

Hi, I found a bug in CRUD Generator for Angular or maybe proxy generator. When you created a solution with a dot in the name like this: and create simple entity:

then generated angular proxy model looks like this: and I have build errors.

When I don't use dots in the solution name then everything works fine and I have generated dto objects in angular project.

Showing 11 to 13 of 13 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11