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"
<span><span>> ng build</span></span>
<span><span>❯ Building...</span></span>
<span><span>✔ Building...</span></span><span><span>Application bundle generation failed. [23.340 seconds]</span></span><span><span>✘ [ERROR] Could not resolve "three"</span></span>
I do have step to run npm install before ng build in the build pipeline steps
Need input to resolve this issue. Thanks