Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Error when using PowerTools #10514


User avatar
0
hafiz created

Hi

I am facing this error when I use the powerTool. It gives the error and it does not create the required front end components for Angular -> KeyIndicatorsAppService.cs is being generated. -> IKeyIndicatorsAppService.cs is being generated. -> KeyIndicatorConsts.cs is being generated. -> CreateOrEditKeyIndicatorDto.cs is being generated. -> KeyIndicatorDto.cs is being generated. -> GetAllForLookupTableInput.cs is being generated. -> GetAllKeyIndicatorsInput.cs is being generated. -> GetKeyIndicatorForViewDto.cs is being generated. -> GetKeyIndicatorForEditOutput.cs is being generated. -> KeyIndicator.cs is being generated. -> AppPermissions.cs is being modified. -> AppAuthorizationProvider.cs is being modified. -> TSTDbContext.cs is being modified. -> CustomDtoMapper.cs is being modified. Running add-migration... Could not execute because the specified command or file was not found. Possible reasons for this include:

  • You misspelled a built-in dotnet command.
  • You intended to execute a .NET program, but dotnet-ef does not exist.
  • You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH. Running migrator... Could not execute because the specified command or file was not found. Possible reasons for this include:
  • You misspelled a built-in dotnet command.
  • You intended to execute a .NET program, but dotnet-ef does not exist.
  • You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH. -> keyIndicators.component.ts is being generated. -> keyIndicators.component.html is being generated. -> create-or-edit-keyIndicator-modal.component.html is being generated. -> create-or-edit-keyIndicator-modal.component.ts is being generated. -> keyIndicator.module.ts is being generated. -> keyIndicator-routing.module.ts is being generated. -> view-keyIndicator-modal.component.html is being generated. -> view-keyIndicator-modal.component.ts is being generated. Warning : File not found => ....\angular\src\app\main\main-routing.module.ts Warning : File not found => ....\angular\src\app\shared\layout\nav\app-navigation.service.ts Warning : File not found => ....\angular\src\shared\service-proxies\service-proxy.module.ts -> TST.xml is being modified. yarn run v1.22.10 error Couldn't find a package.json file in "C:\AFIAT.TST\angular\src\app\main\graphics\keyIndicators" info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Code generation is complete. Press ENTER to exit...

Thanks


1 Answer(s)