I have upgraded my project to angular 14. When i run my pipeline i am getting this error: Ng build error with Unknown argument: outputhashing Angular 14 Can anyone please let me know were i am wrong. Below is my yaml script:
- task: CmdLine@2
displayName: Building My App
inputs:
script: node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --configuration production --aot
workingDirectory: 'My.Working.Directory\MyApp'
----------Web Api---------
- task: DotNetCoreCLI@2
inputs:
command: 'publish'
publishWebProjects: true
zipAfterPublish: true
arguments: '--output $(build.artifactstagingdirectory)/api'
- task: CmdLine@2
displayName: Create EF Scripts
inputs:
script: |
dotnet ef migrations add FreshDb_08022021 -c PWorking
dotnet ef migrations script --idempotent --output migrations.sql --project KLSPL.Working/KLSPL.Working.csproj --context KLSPLDbContext