[GH-ISSUE #171] Compilation fail with the source code #141

Closed
opened 2026-02-26 05:31:26 +03:00 by kerem · 3 comments
Owner

Originally created by @shortshortday on GitHub (Dec 17, 2015).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/171

Hi,

I got a compile fail on my environment. Is there any required library that I missed?

Thanks for help!

neron@Atenza:~/Log.io/Log.io-master$ cake build
Generating src/templates.coffee from templates/.html
Compiling src/
.coffee to lib/.js
Compiling src/less/
to lib/log.io.css
Browserifying src/client.coffee to lib/log.io.js
/home/neron/Log.io/Log.io-master/Cakefile:59
throw err;
^
Error: Command failed: /bin/sh -c /usr/bin/env lessc /home/neron/Log.io/Log.io-master/src/less/log.io.less -compress -o /home/neron/Log.io/Log.io-master/lib/log.io.css
Unable to interpret argument o - if it is a plugin (less-plugin-o), make sure that it is installed under or at the same level as less
The compress option has been deprecated. We recommend you use a dedicated css minifier, for instance see less-plugin-clean-css.

at ChildProcess.exithandler (child_process.js:751:12)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)

Originally created by @shortshortday on GitHub (Dec 17, 2015). Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/171 Hi, I got a compile fail on my environment. Is there any required library that I missed? Thanks for help! # neron@Atenza:~/Log.io/Log.io-master$ cake build Generating src/templates.coffee from templates/_.html Compiling src/_.coffee to lib/_.js Compiling src/less/_ to lib/log.io.css Browserifying src/client.coffee to lib/log.io.js /home/neron/Log.io/Log.io-master/Cakefile:59 throw err; ^ Error: Command failed: /bin/sh -c /usr/bin/env lessc /home/neron/Log.io/Log.io-master/src/less/log.io.less -compress -o /home/neron/Log.io/Log.io-master/lib/log.io.css Unable to interpret argument o - if it is a plugin (less-plugin-o), make sure that it is installed under or at the same level as less The compress option has been deprecated. We recommend you use a dedicated css minifier, for instance see less-plugin-clean-css. at ChildProcess.exithandler (child_process.js:751:12) at ChildProcess.emit (events.js:110:17) at maybeClose (child_process.js:1015:16) at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
kerem closed this issue 2026-02-26 05:31:26 +03:00
Author
Owner

@SebastianOsuna commented on GitHub (Mar 22, 2016):

+1

<!-- gh-comment-id:200062624 --> @SebastianOsuna commented on GitHub (Mar 22, 2016): +1
Author
Owner

@ghost commented on GitHub (May 18, 2016):

Gents, -o is deprecated.

In new lessc syntax you don't have to add -o to spcecify the output filename. just speciffy it without -o and it'll work

<!-- gh-comment-id:220159389 --> @ghost commented on GitHub (May 18, 2016): Gents, -o is deprecated. In new lessc syntax you don't have to add -o to spcecify the output filename. just speciffy it without -o and it'll work
Author
Owner

@msmathers commented on GitHub (Jan 12, 2020):

v0.4.3 is a full rewrite that uses babel & SASS, so this specific issue should be addressed.

<!-- gh-comment-id:573445301 --> @msmathers commented on GitHub (Jan 12, 2020): v0.4.3 is a full rewrite that uses babel & SASS, so this specific issue should be addressed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/log.io-NarrativeScience-old#141
No description provided.