I am using core UI version 2.1.1
with react
.
When I try to run npm start I got this error.
(/Users/umairsaleem/Desktop/abc/abc/node_modules/css-loader??ref--6-oneOf-5-1!/Users/umairsaleem/Desktop/abc/abc/node_modules/postcss-loader/src??postcss!/Users/umairsaleem/Desktop/abc/abc/node_modules/sass-loader/lib/loader.js??ref--6-oneOf-5-3!./src/App.scss)
@import "node_modules/bootstrap/scss/functions"; // from bootstrap node_modules
^
File to import not found or unreadable: node_modules/bootstrap/scss/functions.
in ......
I am using core UI version 2.1.1
with react
.
When I try to run npm start I got this error.
(/Users/umairsaleem/Desktop/abc/abc/node_modules/css-loader??ref--6-oneOf-5-1!/Users/umairsaleem/Desktop/abc/abc/node_modules/postcss-loader/src??postcss!/Users/umairsaleem/Desktop/abc/abc/node_modules/sass-loader/lib/loader.js??ref--6-oneOf-5-3!./src/App.scss)
@import "node_modules/bootstrap/scss/functions"; // from bootstrap node_modules
^
File to import not found or unreadable: node_modules/bootstrap/scss/functions.
in ......
Share
Improve this question
edited Feb 17, 2020 at 10:13
Karan Tewari
5108 silver badges22 bronze badges
asked Feb 17, 2020 at 9:42
UmairUmair
4792 gold badges5 silver badges15 bronze badges
1 Answer
Reset to default 2run npm i -S bootstrap
, you're missing it in your project and it's a dependency. if you have a package.json file there you can try just running npm install
or if you have a yarn.lock
file there install yarn and run yarn