my pipeline is getting failed few hours back it was working fine
I am getting this error :-
./node_modules/@angular/cdk/fesm2020/portal.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):TypeError: /opt/atlassian/pipelines/agent/build/node_modules/@angular/cdk/fesm2020/portal.mjs: Cannot read properties of undefined (reading 'file')
./node_modules/@angular/cdk/fesm2020/scrolling.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):TypeError: /opt/atlassian/pipelines/agent/build/node_modules/@angular/cdk/fesm2020/scrolling.mjs: Cannot read properties of undefined (reading 'file')
./node_modules/@angular/material/fesm2020/grid-list.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):TypeError: /opt/atlassian/pipelines/agent/build/node_modules/@angular/material/fesm2020/grid-list.mjs: Cannot read properties of undefined (reading 'file')
few hours back it was working fine , please help me on this.
I'm also facing same issue for all my angular builds since yesterday. Builds started failing all at once.
<span>./node_modules/@angular/material/fesm2015/checkbox.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):</span>
<span>TypeError: /opt/atlassian/pipelines/agent/build/node_modules/@angular/material/fesm2015/checkbox.mjs: Cannot read properties of undefined (reading 'file')</span>
<span>./node_modules/@angular/common/fesm2015/common.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):</span>
<span>TypeError: /opt/atlassian/pipelines/agent/build/node_modules/@angular/common/fesm2015/common.mjs: Cannot read properties of undefined (reading 'file')</span>
I had the same error and solution in my case was to update ngx-toastr to:"ngx-toastr": "^16.0.2"`
:"ngx-toastr": "^16.0.2"`
It looks like you're new here. Sign in or register to get started.