Author Topic: kolab/calendar libkolab.css not created  (Read 1816 times)

Offline madbadger

  • Newbie
  • *
  • Posts: 2
kolab/calendar libkolab.css not created
« on: November 18, 2019, 04:45:27 AM »
Hi all,

I have updated my install of rc to 1.4 along with all the installed plugins. I am, however, having a problem with the kolab/calendar plugin.

I removed the old version of the plugin to ensure I have the latest version and followed the instructions in the plugins README file, but I cannot get it to create the css.

When I run
Code: [Select]
lessc --relative-urls -x plugins/libkolab/skins/elastic/libkolab.less > plugins/libkolab/skins/elastic/libkolab.min.css I get the following:

Quote
TypeError: sys.print is not a function
    at /usr/lib/nodejs/less/bin/lessc:384:25
    at tree.importVisitor.finish [as _finish] (/usr/lib/nodejs/less/lib/less/parser.js:669:28)
    at tree.importVisitor.subFinish [as _finish] (/usr/lib/nodejs/less/lib/less/import-visitor.js:63:47)
    at tree.importVisitor.subFinish [as _finish] (/usr/lib/nodejs/less/lib/less/import-visitor.js:63:47)
    at tree.importVisitor.run (/usr/lib/nodejs/less/lib/less/import-visitor.js:25:22)
    at /usr/lib/nodejs/less/lib/less/import-visitor.js:72:38
    at fileParsedFunc (/usr/lib/nodejs/less/lib/less/parser.js:83:17)
    at /usr/lib/nodejs/less/lib/less/parser.js:106:29
    at finish (/usr/lib/nodejs/less/lib/less/parser.js:669:28)
    at Object.parse (/usr/lib/nodejs/less/lib/less/parser.js:677:24)

The process creates a libkolab.min.css file but the file is empty.

Is this an issue with 'less', 'nodejs' or the kolab plugin? How do I resolve this?

Andy

Offline alec

  • Hero Member
  • *****
  • Posts: 1,200
Re: kolab/calendar libkolab.css not created
« Reply #1 on: November 18, 2019, 04:54:57 AM »
Looks like less/nodejs issue.

Note that you can install the plugin from plugins.roundcube.net using composer.


Offline madbadger

  • Newbie
  • *
  • Posts: 2
Re: kolab/calendar libkolab.css not created
« Reply #2 on: November 18, 2019, 10:04:55 AM »
Quote
Looks like less/nodejs issue.

That's what I thought. No idea how to fix it though.

Never thought to try with composer either. Worked a treat, thanks.