sass failure
Posted: 23 Nov 2018, 18:02
I am trying to run the command (from the documentation);
sass --update src/main/webapp/resources/ --sourcemap=none
I go to;
https://sass-lang.com/install and install sass using; npm install -g sass
This installs;
sass --version
1.15.1 compiled with dart2js 2.1.0
When I run the command I get;
Could not find an option named "sourcemap"
Then I try;
sass --update src/main/webapp/resources/ --no-source-map
--update is not allowed when printing to stdout.
And then I try;
sass src/main/webapp/resources/ --no-source-map
Unexpected exception:
NoSuchMethodError: method not found: 'length' on null
/usr/lib/node_modules/sass/sass.dart.js 12250:22 m1.eG
/usr/lib/node_modules/sass/sass.dart.js 12252:28 m1.aC
/usr/lib/node_modules/sass/sass.dart.js 11965:14 hd.bU
/usr/lib/node_modules/sass/sass.dart.js 3981:36 <fn>
/usr/lib/node_modules/sass/sass.dart.js 1453:71 w0.a
/usr/lib/node_modules/sass/sass.dart.js 8365:23 w0.$2
/usr/lib/node_modules/sass/sass.dart.js 8360:25 uC.$2
/usr/lib/node_modules/sass/sass.dart.js 9275:42 tz.vf
/usr/lib/node_modules/sass/sass.dart.js 9277:32 tz.ve
/usr/lib/node_modules/sass/sass.dart.js 8583:46 ic.up
I give up ! - please advise.
sass --update src/main/webapp/resources/ --sourcemap=none
I go to;
https://sass-lang.com/install and install sass using; npm install -g sass
This installs;
sass --version
1.15.1 compiled with dart2js 2.1.0
When I run the command I get;
Could not find an option named "sourcemap"
Then I try;
sass --update src/main/webapp/resources/ --no-source-map
--update is not allowed when printing to stdout.
And then I try;
sass src/main/webapp/resources/ --no-source-map
Unexpected exception:
NoSuchMethodError: method not found: 'length' on null
/usr/lib/node_modules/sass/sass.dart.js 12250:22 m1.eG
/usr/lib/node_modules/sass/sass.dart.js 12252:28 m1.aC
/usr/lib/node_modules/sass/sass.dart.js 11965:14 hd.bU
/usr/lib/node_modules/sass/sass.dart.js 3981:36 <fn>
/usr/lib/node_modules/sass/sass.dart.js 1453:71 w0.a
/usr/lib/node_modules/sass/sass.dart.js 8365:23 w0.$2
/usr/lib/node_modules/sass/sass.dart.js 8360:25 uC.$2
/usr/lib/node_modules/sass/sass.dart.js 9275:42 tz.vf
/usr/lib/node_modules/sass/sass.dart.js 9277:32 tz.ve
/usr/lib/node_modules/sass/sass.dart.js 8583:46 ic.up
I give up ! - please advise.