Activities of "castcrewit"

  • ABP Framework version: v 9.0.2

Everything else works but getting the below error while creating angular code

Error: Command failed with exit code 1: .suite/schematics/node_modules/.bin/ng g .suite/schematics/collection.json:entity --template app-nolayers-pro --target xxxxxxxxxx.Playboard --source C:/SourceCode/xxxxxxxxxx-services/services/Playboard/.suite/entities/Union.json
[Project Not Found] A project matching entity solution name or a default project does not exist in your Angular workspace.
    at makeError (C:\SourceCode\xxxxxxxxxx-services\apps\angular\.suite\schematics\node_modules\execa\lib\error.js:60:11)
    at handlePromise (C:\SourceCode\xxxxxxxxxx-services\apps\angular\.suite\schematics\node_modules\execa\index.js:118:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async file:///C:/SourceCode/xxxxxxxxxx-services/apps/angular/.suite/schematics/run-schematics.mjs:6:20 {
  shortMessage: 'Command failed with exit code 1: .suite/schematics/node_modules/.bin/ng g .suite/schematics/collection.json:entity --template app-nolayers-pro --target xxxxxxxxxx.Playboard --source C:/SourceCode/xxxxxxxxxx-services/services/Playboard/.suite/entities/Union.json',
  command: '.suite/schematics/node_modules/.bin/ng g .suite/schematics/collection.json:entity --template app-nolayers-pro --target xxxxxxxxxx.Playboard --source C:/SourceCode/xxxxxxxxxx-services/services/Playboard/.suite/entities/Union.json',
  escapedCommand: '".suite/schematics/node_modules/.bin/ng" g ".suite/schematics/collection.json:entity" --template app-nolayers-pro --target xxxxxxxxxx.Playboard --source "C:/SourceCode/xxxxxxxxxx-services/services/Playboard/.suite/entities/Union.json"',
  exitCode: 1,
  signal: undefined,
  signalDescription: undefined,
  stdout: '',
  stderr: '\x1B[1m\x1B[31m[Project Not Found] A project matching entity solution name or a default project does not exist in your Angular workspace.\x1B[39m\x1B[22m',
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}

If you are asking me to provide steps , I am assuming you tried and were not able to do it.

To ake sure it has nothing to do with my code changes, I just created a Test Project and added a Test MicroService. Then opened the AbpSuite and added a Entity called Test and added just one property as Name.

Then I clicked on Save and generate and below is the error :

2025-01-03 13:29:38.740 -08:00 [INF] 1/10 - EntityGenerateCommand started...
2025-01-03 13:29:39.263 -08:00 [INF] Executing ObjectResult, writing value of type 'System.Boolean'.
2025-01-03 13:29:39.263 -08:00 [INF] Executed action Volo.Abp.Suite.Controllers.TemplatesController.CheckOutdatedTemplatesAsync (Volo.Abp.Suite) in 626.0651ms
2025-01-03 13:29:39.263 -08:00 [INF] Executed endpoint 'Volo.Abp.Suite.Controllers.TemplatesController.CheckOutdatedTemplatesAsync (Volo.Abp.Suite)'
2025-01-03 13:29:39.263 -08:00 [INF] Request finished HTTP/1.1 GET http://localhost:3000/api/templates/solutions/24deeed0-2228-4e36-9506-c59218094fea/is-templates-outdated - 200 null application/json; charset=utf-8 626.3575ms
2025-01-03 13:29:39.578 -08:00 [INF] 1/10 - EntityGenerateCommand completed.                           | Duration: 833 ms.
2025-01-03 13:29:39.579 -08:00 [INF] 2/10 - RepositoryCommand started...
2025-01-03 13:29:39.722 -08:00 [INF] 2/10 - RepositoryCommand completed.                               | Duration: 143 ms.
2025-01-03 13:29:39.722 -08:00 [INF] 3/10 - ManagerCommand started...
2025-01-03 13:29:39.757 -08:00 [INF] 3/10 - ManagerCommand completed.                                  | Duration: 34 ms.
2025-01-03 13:29:39.757 -08:00 [INF] 4/10 - AppServiceCommand started...
2025-01-03 13:29:42.157 -08:00 [INF] 4/10 - AppServiceCommand completed.                               | Duration: 2399 ms.
2025-01-03 13:29:42.157 -08:00 [INF] 5/10 - ProxyControllerCommand started...
2025-01-03 13:29:42.206 -08:00 [INF] 5/10 - ProxyControllerCommand completed.                          | Duration: 48 ms.
2025-01-03 13:29:42.206 -08:00 [INF] 6/10 - PermissionCommand started...
2025-01-03 13:29:42.243 -08:00 [INF] 6/10 - PermissionCommand completed.                               | Duration: 36 ms.
2025-01-03 13:29:42.243 -08:00 [INF] 7/10 - ApplicationObjectMappingCommand started...
2025-01-03 13:29:42.262 -08:00 [INF] 7/10 - ApplicationObjectMappingCommand completed.                 | Duration: 19 ms.
2025-01-03 13:29:42.262 -08:00 [INF] 8/10 - GenerateProxyCommand started...
2025-01-03 13:29:42.263 -08:00 [INF] 8/10 - GenerateProxyCommand completed.                            | Duration: 0 ms.
2025-01-03 13:29:42.263 -08:00 [INF] 9/10 - AngularUiGenerateWithSchematicsCommand started...
2025-01-03 13:29:57.927 -08:00 [INF] Running the Angular Schematics command:
node run-schematics.mjs "C:/SourceCode/TestProject/apps/angular/.suite/schematics/node_modules/.bin/ng" g ".suite/schematics/collection.json:entity" app-nolayers-pro TestProject.Test "C:/SourceCode/TestProject/services/test/.suite/entities/Test.json" "C:/SourceCode/TestProject/apps/angular" 
2025-01-03 13:29:59.336 -08:00 [INF] Angular Schematics command failed.
C:\SourceCode\TestProject\apps\angular\.suite\schematics\node_modules\execa\lib\error.js:60
		error = new Error(message);
		        ^

Error: Command failed with exit code 1: .suite/schematics/node_modules/.bin/ng g .suite/schematics/collection.json:entity --template app-nolayers-pro --target TestProject.Test --source C:/SourceCode/TestProject/services/test/.suite/entities/Test.json
[Project Not Found] A project matching entity solution name or a default project does not exist in your Angular workspace.
    at makeError (C:\SourceCode\TestProject\apps\angular\.suite\schematics\node_modules\execa\lib\error.js:60:11)
    at handlePromise (C:\SourceCode\TestProject\apps\angular\.suite\schematics\node_modules\execa\index.js:118:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async file:///C:/SourceCode/TestProject/apps/angular/.suite/schematics/run-schematics.mjs:6:20 {
  shortMessage: 'Command failed with exit code 1: .suite/schematics/node_modules/.bin/ng g .suite/schematics/collection.json:entity --template app-nolayers-pro --target TestProject.Test --source C:/SourceCode/TestProject/services/test/.suite/entities/Test.json',
  command: '.suite/schematics/node_modules/.bin/ng g .suite/schematics/collection.json:entity --template app-nolayers-pro --target TestProject.Test --source C:/SourceCode/TestProject/services/test/.suite/entities/Test.json',
  escapedCommand: '".suite/schematics/node_modules/.bin/ng" g ".suite/schematics/collection.json:entity" --template app-nolayers-pro --target TestProject.Test --source "C:/SourceCode/TestProject/services/test/.suite/entities/Test.json"',
  exitCode: 1,
  signal: undefined,
  signalDescription: undefined,
  stdout: '',
  stderr: '\x1B[1m\x1B[31m[Project Not Found] A project matching entity solution name or a default project does not exist in your Angular workspace.\x1B[39m\x1B[22m',
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}


I am not sure what else can I provide ?

I am using the latest version of everything, Abp Studio, AbpSuite, Abp Io

Any updates ?

Can i get some answers to this ?

Someone else had similar issue I am facing a year back :

https://abp.io/support/questions/6341/Project-Not-Found-A-project-matching-entity-solution-name-or-a-default-project-does-not-exist-in-your-Angular-workspace

Please provide a solution so that I can move forward.

Its happening to us as well

Answer

Thank You. So looking at it I am currently stuck and can't proceed until there is a fix. Please let me know how to proceed in the absence of a fix. If Proxies can't be created then how do we proceed with building UI

I will try but did you try to replicate and follow your own instructions. I have been dealing with this issue for quite sometime and have tried multiple things. I am expecting few trials from your side as well.

I do understand how to develop the micro services. I just sent you the file management services because the rest were too big to send. As mentioned earlier above I don't get any kind of error if I remove the code to event options.AutoEventSelectors.AddAll().

You can easily create a Microservice solution using abp studio and test this out without the need for me sending any code as I am using all the default settings.

Showing 41 to 48 of 48 entries
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.2.0-preview. Updated on February 17, 2026, 09:10
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.