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 had the same error and solution in my case was to update ngx-toastr to:"ngx-toastr": "^16.0.2"`
I'm also facing same issue for all my angular builds since yesterday. Builds started failing all at once.
./node_modules/@angular/material/fesm2015/checkbox.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/fesm2015/checkbox.mjs: Cannot read properties of undefined (reading 'file')
./node_modules/@angular/common/fesm2015/common.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/common/fesm2015/common.mjs: Cannot read properties of undefined (reading 'file')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.