I have configured bitbucket-pipelines with my code (Angular 5) in bitbucket. But each time I try to run the build it fails with the message below (in my local machine the build works fine).
ERROR in Error: Child compilation failed:
Entry module not found:
Error: Can't resolve '/opt/atlassian/pipelines/agent/b uild/src/index.html' in '/opt/atlassian/pipelines/agent/build':
Error: Can't resolve '/opt/atlassian/pipelines/agent/build/src/index.html' in '/opt/atlassian/pipelines/agent/build'
I tried everything possible but I run out of options. This is my bitbucket-pipelines.yml:
image: trion/ng-cli-karma pipelines: branches: feature/*: - step: name: Setup & Test caches: - node script: - npm install gulp-cli -g - npm install @angular/cli -g - npm install - ng test --watch=false - ng build --prod
Thank you!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.