Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

node-sass --watch outputting empty CSS files #2489

Open
@andrewulm

Description

@andrewulm
  • NPM version (npm -v): 5.0.3
  • Node version (node -v): v8.1.2
  • Node Process (node -p process.versions):
    { http_parser: '2.7.0', node: '8.1.2', v8: '5.8.283.41', uv: '1.12.0', zlib: '1.2.11', ares: '1.10.1-DEV', modules: '57', openssl: '1.0.2l', icu: '59.1', unicode: '9.0', cldr: '31.0.1', tz: '2017b' }
  • Node Platform (node -p process.platform): Linux
  • Node architecture (node -p process.arch): x64
  • node-sass version (node -p "require('node-sass').info"):
    node-sass 4.5.3 (Wrapper) [JavaScript] libsass 3.5.0.beta.2 (Sass Compiler) [C/C++]
  • npm node-sass versions (npm ls node-sass):
    [email protected] /home/vagrant/halfpricebanners/angular4 ├─┬ @angular/[email protected] │ └── [email protected] deduped └── [email protected]

Recently, i've been experiencing valid code being outputted to my CSS file as 0 bytes, no data.

But sometimes, if I change a value of any property, it will output a the CSS fine.

node-sass --watch sass/basic-pages.scss css/basic-pages.css --output-style compressed

image

image

The SCSS:
basic-pages.scss.txt

I've ran this through many validators with no errors, shown colleagues for review if I missed something obvious, with no luck.

Please let me know your thoughts. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions