i'm evaluating edge.js use in existing project, i'm running issue calling edge.func. projects aren't console application, hangs (no exception thrown) on edge.funct(
call (e.g.webapi or test projects).
// next line hangs var func = edge.func(@" return function (data, callback) { callback(null, 'hello world'); }");
i have test sln here: https://github.com/cumminsjp/edgete
if drop same code console app--it works , expected hello world
function.
i've seen related discussions / issues:
https://github.com/tjanczuk/edge/issues/215
https://github.com/tjanczuk/edge/issues/373
using edge.js c# console application
but i'm not convinced haven't mis-configured or i'm missing obvious.
i had working edge.js console example , copied test sln folder experiencing problem. of sudden, console app hung on edge.func
call. eventually, figured out presence of junction (at point in full path) causes problem.
my solution contained in sub-directory of directory junction, edge.js not seem tolerate.
<dir> <dir> <dir> <dir> <dir> <junction> <-- edge.js doesn't <dir> <dir>
if either copy sln directory normal directory (or find physical directory junction pointing open sln there), both console example , test project call edge.func
Comments
Post a Comment