Closed m-abs closed 8 years ago
This is exactly the problem that I encountered over the past 3 days (I'm new to NativeScript). The error is very cryptic and led to a couple of hours of adding & remove folders & files trying to identify the issue.
Like @m-abs suggested, even something as simple as placing a random comment at the top of the .scss / .sass file solves this problem:
/* comment */
I'm sure a lot of newcomers to NativeScript (especially those coming from the web with heavy usage of Sass) are going to run across this issue...
We have a number of empty files in our project and we got this error when we tried to move to
sass
The problem is that the var
output
innativescript-dev-sass/lib/converter.js:32
is undefined, but you only check fornull
I've made a temporary fix in our end, by adding dummy css to all the files. (our setup doesn't allow removal of the files)