C
C
Cyberial Syntwaiser2018-11-09 14:29:53
css
Cyberial Syntwaiser, 2018-11-09 14:29:53

How to solve intermittent problem with sass import?

Good afternoon, I collected modules for training my layout, found a layout and included all the references of the working folder in gulp and so on ...
Everything works as it should, but an error occurs periodically when making changes!
Error: pj\css\main.sass
Error: File to import not found or unreadable: base/grid.
on line 13 of pj/css/main.sass
>> "@import" 'base/grid';
For example, I change one of any values, and the error can fly out immediately, or after a couple of property changes! Tried updating packages, Npm + node, but none of it worked! What is the reason? And tell me how to make sure that when such errors appear, my tasks do not fly off! Thanks to everyone who helps! Here is the JsFiddle of my gulp and package.json

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cyberial Syntwaiser, 2018-11-09
@Cyberial

I dug out one of the problems, I usually work in Visual Studio Code - if you save changes in another editor "Atom", then there are no such problems! How can I fix it? Set timer to keep track of scss files? Or somewhere in the VSC setting to change the settings?)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question