File to import not found or unreadable: node_modules/@coreui/coreui/scss/bootstrap-variables.",
See original GitHub issuewhen I run npm start I get flowing error:
> node-sass-chokidar --include-path ./node_modules ./src/scss -o ./src/scss
{
"status": 1,
"file": "xxxxxx/src/scss/vendors/_variables.scss",
"line": 3,
"column": 1,
"message": "File to import not found or unreadable: node_modules/@coreui/coreui/scss/bootstrap-variables.",
"formatted": "Error: File to import not found or unreadable: node_modules/@coreui/coreui/scss/bootstrap-variables.\n on line 3 of src/scss/vendors/_variables.scss\n from line 2 of src/scss/vendors/chart.js/chart.scss\n>> @import \"node_modules/@coreui/coreui/scss/bootstrap-variables\";\r\n ^\n"
}
I use following package :
"@coreui/coreui": "^2.0.2",
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.2.0",
"@coreui/icons": "^0.2.0",
"@coreui/react": "^2.0.1",
"bootstrap": "^4.1.1",
"core-js": "^2.5.7",
"react": "^16.5.1",
"react-dom": "^16.5.1",
"react-scripts": "1.1.5"
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
SCSS file error: File to import not found or unreadable: bootstrap
Looks like you're missing a pretty big hint! File to import not found or unreadable: default. It's looking for a file called default.scss ......
Read more >"File to import not found or unreadable" When @import scss ...
Not sure if it is an actual bug or my curly hands, but i tried to provide as more details as possible to...
Read more >Error: File to import not found or unreadable: bootstrap - Drupal
The only place I can find a reference to "bootstrap" without further direction in in my theme yml file, where it is supposed...
Read more >file to import not found or unreadable - Visual Studio Feedback
Its a normal Web App (WinForms) using VB.NET with a CSS folder where I was adding the SCSS files. Example: css mixins.scss variables.scss...
Read more >sass error : file to import not found or unreadable | Ionic Forums
I was trying to develop an app using ionic 3 , cordova 7 and angular. What I was getting ? I was getting...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Starting with
@coreui/coreui v2.0.4
and up there is no need for an explicit import of bootstrap variables and functions into the templateThe current version of
src/scss/vendors/_variables.scss
should look like this:afaik starting with
@coreui/coreui v2.0.4
and up there is no need for an explicit import of bootstrap variables into the template