sass failure

Post Reply
paulkeogh
Posts: 45
Joined: 04 Apr 2013, 23:00
Location: Dublin, Ireland
Contact:

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.
Primefaces 6.2 Atmosphere 2.5
Red Hat Developer Studio 12.9 GA
Wildfly 14
Linux RHEL 7/CentOS 7

paulkeogh
Posts: 45
Joined: 04 Apr 2013, 23:00
Location: Dublin, Ireland
Contact:

23 Nov 2018, 19:21

I finally got it to work with;

/root/dart-sass/sass src/main/webapp/resources:src/main/webapp/resources --no-source-map

This is with the standalone sass install, *not* the npm one.
Primefaces 6.2 Atmosphere 2.5
Red Hat Developer Studio 12.9 GA
Wildfly 14
Linux RHEL 7/CentOS 7

User avatar
aragorn
Posts: 3584
Joined: 29 Jun 2013, 12:38

26 Nov 2018, 08:49

Thanks a lot, @paulkeogh ;)

mekhaba
Posts: 4
Joined: 30 Jun 2014, 13:54

08 Dec 2018, 11:54

Yes I got the same sent error, and when I used your solution It's OK.
Thanks.

User avatar
aragorn
Posts: 3584
Joined: 29 Jun 2013, 12:38

10 Dec 2018, 08:10

Thanks a lot for the update!

cgonul
Posts: 1
Joined: 18 Jan 2018, 19:47

06 Apr 2019, 17:32

paulkeogh wrote:
23 Nov 2018, 19:21
I finally got it to work with;

/root/dart-sass/sass src/main/webapp/resources:src/main/webapp/resources --no-source-map

This is with the standalone sass install, *not* the npm one.
I think the document should be updated accordingly.

User avatar
aragorn
Posts: 3584
Joined: 29 Jun 2013, 12:38

17 Apr 2019, 08:19

Of course, I'll update doc asap.

Best Regards,

Post Reply

Return to “Babylon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest