I am currently using npm task in my build pipeline in azure devops. Recently the npm run step started failing with below error. When I manually install the sass and sass-loader the npm run step passes without any error. How can I install the complete modules from pipeline.?
ERROR in Module build failed (from ./node_modules/@angular-devkit/build-angular/node_modules/sass-loader/lib/loader.js):
I have fixed the issue by adding another step with npm task and passed and argument(sass-loader) to install the sass modules.