Open Closed

Error in generate angular UI by CRUD Generator #1466


User avatar
0
tomlew created

ABP Framework version: v4.3.2 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): yes Exception message and stack trace: When I try generate new crud entity i got error in suite log:

2021-06-10 21:54:43.815 +02:00 [INF] 8/8 - AngularUiGenerateWithSchematicsCommand started...
2021-06-10 21:54:43.820 +02:00 [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"
2021-06-10 21:54:49.365 +02:00 [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 

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\tomlewandowski\AppData\Local\npm-cache\_logs\2021-06-10T19_54_49_326Z-debug.log

2021-06-10 21:54:49.377 +02:00 [INF] 8/8 - AngularUiGenerateWithSchematicsCommand completed.          | Duration: 5561 ms.
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    probably the node_modules is not installed correctly.

    delete this folder => C:/Workspace/OrderManagementSystem/src/angular/.suite/schematics/node_modules

    open cmd in C:/Workspace/OrderManagementSystem/src/angular/.suite/schematics/ and run yarn

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.