We have an Angular project and we are trying to use AWS CodePipeline to deploy the project.
We have pushed our project to a CodeCommit repository.
Now we are facing challenge to generate the build using AWS CodeBuild. In CodeBuild the build definition is
phases:
build:
commands:
- npm install && ng build-prod
We get an error ng: not found
We also tried the following build definition:
phases:
build:
commands:
- npm install && run build-prod
Error we get is run: not found
Also we are not sure about what we have to enter in "Output files" field.
Please Help..!!