Abrir Fechadas

[Project Not Found] A project matching entity solution name or a default project does not exist in your Angular workspace. #6341


User avatar
0
iteabr2020 criada
  • ABP Framework version: v7.4.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Auth Server Separated (for Angular)
  • Exception message and full stack trace: [Project Not Found] A project matching entity solution name or a default project does not exist in your Angular workspace.',
  • Steps to reproduce the issue:

ABP CLI 7.4.2 ABP Suite 7.4.2 Node.js v18.19.0 Angular CLI: 17.0.6 Node: 18.19.0 Package Manager: npm 10.2.3 OS: darwin arm64

  1. Create new project Microservice abp new Abc.Project -t microservice-pro -u angular --version 7.4.2 follow the rest based on the official document (https://docs.abp.io/en/commercial/latest/startup-templates/microservice/create-new-microservice)

  2. Create a new Microservice module to the existing project solution abp new SaleService -t microservice-service-pro --version 7.4.2 follow the rest based on the official document (https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice#authserver-configuration)

Suite-log 2023-12-14 11:00:45.935 +08:00 [INF] 10/11 - AngularUiGenerateWithSchematicsCommand started... 2023-12-14 11:00:45.938 +08:00 [INF] Running the Angular Schematics command: node run-schematics.mjs '/Users/ij/Documents/Development/Abp_Io/Project/apps/angular/.suite/schematics/node_modules/.bin/ng' g '.suite/schematics/collection.json:entity' microservice-pro Bkrm.Crm.SaleService '/Users/ij/Documents/Development/Abp_Io/Project/services/sale/.suite/entities/DemoEntity.json' '/Users/ij/Documents/Development/Abp_Io/Project/apps/angular' 2023-12-14 11:00:46.839 +08:00 [INF] Angular Schematics command failed. /Users/ij/Documents/Development/Abp_Io/Project/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 microservice-pro --target Bkrm.Crm.SaleService --source /Users/ij/Documents/Development/Abp_Io/Project/services/sale/.suite/entities/DemoEntity.json [Project Not Found] A project matching entity solution name or a default project does not exist in your Angular workspace. at makeError (/Users/ij/Documents/Development/Abp_Io/Project/apps/angular/.suite/schematics/node_modules/execa/lib/error.js:60:11) at handlePromise (/Users/ij/Documents/Development/Abp_Io/Project/apps/angular/.suite/schematics/node_modules/execa/index.js:118:26) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///Users/ij/Documents/Development/Abp_Io/Project/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 microservice-pro --target Bkrm.Crm.SaleService --source /Users/ij/Documents/Development/Abp_Io/Project/services/sale/.suite/entities/DemoEntity.json', command: '.suite/schematics/node_modules/.bin/ng g .suite/schematics/collection.json:entity --template microservice-pro --target Bkrm.Crm.SaleService --source /Users/ij/Documents/Development/Abp_Io/Project/services/sale/.suite/entities/DemoEntity.json', escapedCommand: '".suite/schematics/node_modules/.bin/ng" g ".suite/schematics/collection.json:entity" --template microservice-pro --target Bkrm.Crm.SaleService --source "/Users/ij/Documents/Development/Abp_Io/Project/services/sale/.suite/entities/DemoEntity.json"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '', stderr: '[Project Not Found] A project matching entity solution name or a default project does not exist in your Angular workspace.', failed: true, timedOut: false, isCanceled: false, killed: false }

Node.js v18.19.0

2023-12-14 11:00:46.843 +08:00 [INF] 10/11 - AngularUiGenerateWithSchematicsCommand completed. | Duration: 907 ms.


1 resposta (s)
  • User Avatar
    0
    EngincanV criada
    Equipe de Apoio .NET Developer

    Hi, thanks for reporting this problem. We were aware of it and actually fixed it. It will be available with the next release and

    I have refunded your ticket. Best regards.

Made with ❤️ on ABP v8.2.0-preview Updated on março 25, 2024, 15:11