Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ng Build error module not found

Annette Varndell
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!
June 28, 2022

./$AZURE_RESOURCE_GROUP/app/Modules/account/forgotpassword.component.ts:5:0-70 - Error: Module not found: Error: Can't resolve 'xxx/app/services/common.service' in '/opt/atlassian/pipelines/agent/build/src/ui/$AZURE_RESOURCE_GROUP/app/Modules/account'

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 28, 2022

Welcome to the Atlassian Community!

This is a problem inside your build process, not really a Bitbucket pipeline problem.  

It looks to me like you have used an environment variable (the $AZURE_ thing) which is not being set in the build environment.  Most systems put the name of a variable out like this when it's not been set, so you at least know which one needs setting!

Check your build setup, it's probably missing that variable.

Suggest an answer

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

Atlassian Community Events