E
E
eternal_blue2020-06-09 16:15:08
css
eternal_blue, 2020-06-09 16:15:08

How to fix Error: Can't find stylesheet to import. in sass?

Hello, I'm learning bootstrap, I needed to create my own color scheme. Previously, I didn’t work with sass in any way, in the Russian-language documentation everything is written intricately, I found a guide on YouTube . I repeated everything exactly, reached 3:39, when he enters the command sass scss/custom.scss style.css and he immediately has a style.css and style.css.map file there. I have one style.scc with

mistake

Error: Can't find stylesheet to import.

1 │ Dmitrijs Balcers "node_modules/bootstrap/scss/bootstrap";
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

scss\custom.scss 1:9 root stylesheet


File system:
5edf8af8c7479324760234.png

Custom.scss file contents: Went through the path indicated in the error, there is a bootstrap.scss file there Maybe it somehow affects the fact that there is no built-in console in brackets, and I work with the Nodejs console?
@import "node_modules/bootstrap/scss/bootstrap";


Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
drawnofmymind, 2020-06-09
@eternal_blue

@import "../node_modules/bootstrap/scss/bootstrap";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question