mirror of
https://github.com/NarrativeScience-old/log.io.git
synced 2026-04-26 01:25:55 +03:00
[GH-ISSUE #77] Cake build fails #60
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/log.io-NarrativeScience-old#60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eeertekin on GitHub (May 27, 2013).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/77
Hi,
I have installed all necessary packages with npm (less browserify coffee-script mocha with global, and npm install in Log.io folder), but I'm getting error while trying to build with cake.
Am I missing something here ?
/home/eee/Log.io # cake build
Generating src/templates.coffee from templates/.html
Compiling src/.coffee to lib/.js
Compiling test/.coffee to test/lib/.js...
Compiling src/less/ to lib/log.io.css
Browserifying src/client.coffee to lib/log.io.js
Running tests...
Error: Parsing file /home/eee/Log.io/src/client.coffee: Line 1: Unexpected token ILLEGAL
/home/eee/Log.io/Cakefile:104
throw err;
^
Error: Command failed: ✖ 2 of 3 tests failed:
LogServer should have no nodes or streams initially:
expected [ 'server01', 'server02' ] to have a length of 0 but got 2
WebClient waits for server connection...:
Error: timeout of 2000ms exceeded
at null. (/lib/node_modules/mocha/lib/runnable.js:167:14)
at Timer.listOnTimeout as ontimeout
at ChildProcess.exithandler (child_process.js:637:15)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Process.ChildProcess._handle.onexit (child_process.js:802:5)
@blackrosezy commented on GitHub (Aug 26, 2013):
I'm also having the same problem. Any thoughts on this?
Here is the output:
Generating src/templates.coffee from templates/.html
Compiling src/.coffee to lib/.js
Compiling test/.coffee to test/lib/.js...
Compiling src/less/ to lib/log.io.css
Browserifying src/client.coffee to lib/log.io.js
Running tests...
/home/langkawi/Log.io/Cakefile:103
throw err;
^
Error: Command failed: â 1 of 3 tests failed:
expected {} to have keys 'server01', and 'server02'
npm ERR! weird error 8
npm ERR! not ok code 0
@msmathers commented on GitHub (Aug 1, 2014):
This has been fixed in v0.3.4, there was a race condition in the server initialization that caused the functional tests to be brittle.