Avatar of Zolf
ZolfFlag for United Arab Emirates

asked on 

Angular build issue

Hi there,

I am trying to build my app on another machine and for some reason I am getting this error when I run the command ng serve. 
The app was working properly on my previous machine

ERROR in ../src/assets/scss/style.scss (../node_modules/css-loader/dist/cjs.js??ref--14-1!../node_modules/postcss-loader/src??embedded!../node_modules/resolve-url-loader??ref--14-3!../node_modules/sass-loader/dist/cjs.js??ref--14-4!../src/assets/scss/style.scss)
Module Error (from ../node_modules/postcss-loader/src/index.js):
(Emitted value instead of an instance of Error) CssSyntaxError: C:\node_modules\material-design-icons-iconfont\src\material-design-icons.scss:15:2: Can't resolve '../../../node_modules/material-design-icons-iconfont/src/fonts/MaterialIcons-Regular.eot' in 'C:\Dev\Hakiman Project\gene-seed\src\assets\scss'

  13 |   font-weight: 400;
  14 |   font-display: block;
> 15 |   src: url("#{$material-design-icons-font-file-path}.eot"); /* For IE6-8 */
     |  ^
  16 |   src: local('☺'),
  17 |   url("#{$material-design-icons-font-file-path}.woff2") format('woff2'),

Open in new window

Angular

Avatar of undefined
Last Comment
Julian Hansen
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Angular
Angular

Angular is a JavaScript open-source web application framework used to develop single-page applications. It aims to simplify both the development and the testing of such applications by providing a framework for client-side model–view–controller (MVC) and model–view–view-model (MVVM) architectures, along with components commonly used in rich Internet applications. Angular is the front-end part of the MEAN stack, together with Node.js runtime, Express.js backend framework and MongoDB database.

1K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo