Bitbucket pipeline ng build fails [[ERROR] Could not resolve "three"]

Abbas, Ajmal (AU)
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 8, 2025

I am using three.js in angular application.

ng build works fine locally but bitbucket pipeline fails with falling error.

Error Message: -

[ERROR] Could not resolve "three"

 

> ng build
❯ Building...

✔ Building...Application bundle generation failed. [23.340 seconds]✘ [ERROR] Could not resolve "three"

I do have step to run npm install before ng build in the build pipeline steps
Need input to resolve this issue. Thanks

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events