BootstrapDash / StarAdmin-Free-Bootstrap-Admin-Template

A Free Responsive Admin Dashboard Template Built With Bootstrap 4. Elegant UI Theme for Your Web App!
MIT License
1.4k stars 649 forks source link

Changes in .scss files are not reflecting on browser #2

Closed murliraj closed 6 years ago

murliraj commented 6 years ago

please give a solution for changing in scss file and reflecting the changes on the browser.

Thanks.

BootstrapDash commented 6 years ago

The CSS file will be reflected on the browser rather than SCSS directly. You have to run 'gulp serve' for converting the SCSS into CSS. Please refer to the 'Getting Started -> Modifying Sass Files' section of the documentation for step-by-step instructions

murliraj commented 6 years ago

I followed the process and install ruby sass node and npm in the last i am getting this error.

C:\xampp\htdocs\School\admin>gulp serve C:\xampp\htdocs\School\admin\node_modules\node-sass\lib\binding.js:13 throw new Error(errors.unsupportedEnvironment()); ^

Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (57) For more information on which environments are supported please see: https://github.com/sass/node-sass/releases/tag/v3.13.1 at module.exports (C:\xampp\htdocs\School\admin\node_modules\node-sass\lib\binding.js:13:13) at Object. (C:\xampp\htdocs\School\admin\node_modules\node-sass\lib\index.js:14:35) at Module._compile (module.js:635:30) at Object.Module._extensions..js (module.js:646:10) at Module.load (module.js:554:32) at tryModuleLoad (module.js:497:12) at Function.Module._load (module.js:489:3) at Module.require (module.js:579:17) at require (internal/module.js:11:18) at Object. (C:\xampp\htdocs\School\admin\node_modules\gulp-sass\index.js:187:21)

C:\xampp\htdocs\School\admin>

Please help me i really need your help. ruby -version 3.4.3-1 node- version 8.9.3 window 10 x64bit

ghost commented 6 years ago

@murliraj running npm install command after removing the node_modules folder will fix your issue ..

murliraj commented 6 years ago

cannot find 'gulp-sass' error came

ghost commented 6 years ago

You can try npm rebuild node-sass command and repeat the previous step will solve this.

Note: You need to install Gulp to compile scss to css. To install gulp simply run npm install -g gulp command.