I'm trying to design my own theme. I'm quite new to scss and bootstrap.
When i try compiling scc file to css (node-sass assets/themes/mytheme/scss/styles.scss -o assets/dist/), i have the following message :
{
"status": 1,
"file": "/var/www/html/phpmyfaq/assets/themes/mytheme/scss/styles.scss",
"line": 20,
"column": 1,
"message": "File to import not found or unreadable: ~bootstrap.",
"formatted": "Error: File to import not found or unreadable: ~bootstrap.\n on line 20 of assets/themes/mytheme/scss/styles.scss\n>> @import '~bootstrap';\n\n ^\n"
}
I have installed Boostrap following the documentation (with npm). What am i missing ?
@import 'node_modules/bootstrap/scss/bootstrap';
@import 'node_modules/fork-awesome/scss/fork-awesome'; //I had the same problem with the importation of fork-awesome