Reputation: 1437
I am using prepros 5(latest version) and foundation 6 on windows platform. When I am compiling app.scss with libsass compiler enabled then I am getting the following error
file to import not found or unreadable: util/util
app.scss contains
@import 'settings';
@import 'foundation';
@import 'motion-ui';
@import 'util/util'; is declared in _settings.scss file.
Any help is highly appreciated.
Upvotes: 0
Views: 390
Reputation: 11
Background story: I run on a Mac but use parallels to access our blog sitting on a PC based server. Everything works fine using CodeKit but for some reason Prepros is giving me that error so I'm having a similar problem.
I changed line 42 or 43 in the _settings.scss file
@import '../bower_components/foundation-sites/scss/util/util';
which worked, but after I did that I received the same error with the following @imports.
@import 'foundation';
@import 'motion-ui';
I've wasted my day trying to figure this out but hopefully this puts you in the right direction.
Upvotes: 1
Reputation: 11
Figured it out. After changing the path for the 'util/util' I updated the paths for foundation and the motion-ui imports. Below is the paths I used: _settings.scss
@import '../bower_components/foundation-sites/scss/util/util';
app.scss
@import 'settings';
@import '../bower_components/foundation-sites/scss/foundation';
@import '../bower_components/motion-ui/motion-ui';
Upvotes: 0