Search Posts

Category: npm

Error while using the Loaders in AngularJS

I am working on AngularJS project and while I am trying to use loaders and compile my project using npm I am getting the following error ERROR in ./~/css-loader?{“sourceMap”:true}!./~/postcss-loader/lib?{“sourceMap”:true}!./~/sass-loader/lib/loader.js?{“includePaths”:[“C://Users//DELL//Desktop//sai//viandd//ecommerce_webapp//~//bootstrap//scss”],”sourceMap”:true}!./src/app/modules/order/order.scssModule build failed:undefined ^ Argument `$color` of `darken($color, $amount)` must be a color As I am new to this. Can anyone please help me out in solving this? I ll also post the code of my loaders in webpack.config.js { // SASS test: /.(sass|scss)$/, loader: isTest ? […]