tessel / t1-runtime

[UNMAINTAINED] Tessel 1 JavaScript runtime.
Other
117 stars 33 forks source link

[Colony] error with absolute filepath in argument #705

Open tberthe opened 9 years ago

tberthe commented 9 years ago

When trying to use colony with a simple test.js file such as :

console.log("hello")

I have this error :

~/tessel-runtime/out/Release/colony ~/test.js 
Error: Could not find module "./home/tberthe/test/index.js"
   at js_new ([string "colony-init.lua"]:504)
   at run ([string "colony-node.lua"]:894)
   at <anonymous> ([string "cli.lua"]:46)

whereas calling

~/tessel-runtime/out/Release/colony test.js 

works as intented.