Closed fquiroz closed 7 years ago
remove @import from _variable.scss file and add
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600" rel="stylesheet">
in index.html file,
btw you can try our latest Angular-4 version theme
https://github.com/start-angular/SB-Admin-BS4-Angular-2
Great @nitinkumarmishra it Works!! Thanks!
Hello everyone , I want to build a prod version , but when i exceute this command:
npm run build.prod
[18:59:25] Finished 'tslint' after 3.25 s
[18:59:25] Starting 'build.fonts'...
[18:59:25] Finished 'build.fonts' after 29 ms
[18:59:25] Starting 'build.assets.prod'...
[18:59:26] Finished 'build.assets.prod' after 91 ms
[18:59:26] Starting 'build.html_css'...
events.js:141
throw er; // Unhandled 'error' event
^
Error: Broken @import declaration of "http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600" - getaddrinfo ENOTFOUND 9090 9090:80
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\fquiroz\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "build.prod"
npm ERR! node v4.7.0
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! SB-Admin-BS4-Angular-2@0.0.0 build.prod:
gulp build.prod --color --config-env prod
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the SB-Admin-BS4-Angular-2@0.0.0 build.prod script 'gulp build.prod --color --config-env prod'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the SB-Admin-BS4-Angular-2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp build.prod --color --config-env prod
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs SB-Admin-BS4-Angular-2
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls SB-Admin-BS4-Angular-2
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! c:\Dev\angular\ani-angular-2\npm-debug.log
Do you know what may be happening?
Thanks!1