Re:Maptail.js geoips your tail -f to a map
by stagas on Wednesday January 19, 2011 @11:39AM
(#2120311)
Must be an incompatibility with the master version of node.js. git checkout v0.3.1 of node.js which is the version I'm using.
Re:Maptail.js geoips your tail -f to a map
by sandaru1 on Wednesday January 19, 2011 @12:18PM
(#2120466)
Tried on v0.3.5 - works fine after I added a "partials" parameter to boil config on maptail.js line 39.
Otherwise boil.js fails to normalize the path because it's passing an undefined value and path.normalize tries to access "charAt" function of the string.
Re:Maptail.js geoips your tail -f to a map
by derwiki on Wednesday January 19, 2011 @12:51PM
(#2120587)
Can you be more specific? This is the first time I've tried to use node.js for anything and am very unfamiliar with the environment. I'm running into the charAt problem though, so I think your fix will be my fix.
Re:Maptail.js geoips your tail -f to a map
by sandaru1 on Wednesday January 19, 2011 @01:18PM
(#2120686)
maptail.js line 43 add following line :
, partials: __dirname + '/views'
Re:Maptail.js geoips your tail -f to a map
by Corrado on Wednesday January 19, 2011 @12:53PM
(#2120591)
Same for me. node v0.3.5 gives me a 'charAt' error, however I didn't add a "partials" parameter to anything.
node.js:63 throw e; ^ TypeError: Cannot call method 'isConfigurable' of undefined at Function.seal (native) at Object.<anonymous> (/Users/rnhurt/.node_libraries/.npm/chaos/0.1.6-pre/package/chaos.js:40:10) at new <anonymous> (/Users/rnhurt/.node_libraries/.npm/chaos/0.1.6-pre/package/chaos.js:87:20) at /Users/rnhurt/.node_libraries/.npm/chaos/0.1.6-pre/package/chaos.js:64:40 at /Users/rnhurt/.node_libraries/.npm/helpful/0.0.3/package/lib/login.js:205:23 at Object.<anonymous> (/Users/rnhurt/src/js/maptail/maptail.js:57:5) at Module._compile (node.js:462:23) at Module._loadScriptSync (node.js:469:10) at Module.loadSync (node.js:338:12) at Object.runMain (node.js:522:24)