Open Closed

Angular code generation broken with error. [Project Not Found] A project matching entity solution name or a default project does not exist in your Angular workspace #6389


User avatar
0
ndeol@woolworths.com.au created
  • ABP Framework versionABP 7.4.0
  • UI Type: Angular
  • Database System: MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue: ABP suite generate entity using version 7.4 and Angular version 16

Following Exception happen, I have seen this issue raised multiple times and I guess solution is in progress. Can you please update us how we can resolve this for our angular UI generation . We wont be updating to 8.0.0 soon can you please inform how to resolve this in 7.4 version.

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


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

    Hi,

    The problem has been fixed in the 7.4.4 version, could you upgrade your cli&suite and try again?

  • User Avatar
    0
    liem created

    I have the same error. The problem still exists in the version 7.4.4

    Error: Command failed with exit code 1: .suite/schematics/node_modules/.bin/ng g .suite/schematics/collection.json:entity --template microservice-pro --target Clpb --source /src/services/clpb/.suite/entities/BiddingAccount.json [Project Not Found] A project matching entity solution name or a default project does not exist in your Angular workspace. at makeError (\src\apps\angular.suite\schematics\node_modules\execa\lib\error.js:60:11) at handlePromise (\src\apps\angular.suite\schematics\node_modules\execa\index.js:118:26) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:////src/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 Clpb --source */src/services/clpb/.suite/entities/BiddingAccount.json', command: '.suite/schematics/node_modules/.bin/ng g .suite/schematics/collection.json:entity --template microservice-pro --target Clpb --source /src/services/clpb/.suite/entities/BiddingAccount.json', escapedCommand: '".suite/schematics/node_modules/.bin/ng" g ".suite/schematics/collection.json:entity" --template microservice-pro --target Clpb --source "/src/services/clpb/.suite/entities/BiddingAccount.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 }

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Hi, what is your project name in angular.json file for this service can u please share ?

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11