I would like to contribute to the project, but I’m failing at setting up my machine to work with.
What I’ve done so far:
- installed Ubuntu 16.04 LTS as a Hyper-V-Machine (Win 10 [v1607])
- installed git (v2.7.4), node (v6.2.2) and npm (v3.9.5)
- forked pimatic (v0.9.32) to my personal space on github
- cloned my copy to my Ubuntu system and switched to that directory
- copied the config_default.json to config.json
sudo npm install
-> failed because of typechecker -> manually installed typechecker@4.3.0 (not sure if I did that right)sudo ./pimatic.js
Here I am struck and have no idea how to continue
21:54:42.929 2016-08-04 Thursday
21:54:43.664 [pimatic] Starting pimatic version 0.9.32
21:54:43.718 [pimatic] Startup error: Error: ENOENT: no such file or directory, open '/home/config.json'
21:54:43.718 [pimatic]> at Error (native)
21:54:43.718 [pimatic]> at Object.fs.openSync (fs.js:634:18)
21:54:43.718 [pimatic]> at Object.fs.readFileSync (fs.js:502:33)
21:54:43.718 [pimatic]> at Framework._loadConfig (/home/marie/pimatic/lib/framework.coffee:141:21)
21:54:43.718 [pimatic]> at new Framework (/home/marie/pimatic/lib/framework.coffee:60:8)
21:54:43.718 [pimatic]> at /home/marie/pimatic/startup.coffee:94:21
21:54:43.718 [pimatic]> at tryCatcher (/home/marie/pimatic/node_modules/bluebird/js/release/util.js:16:23)
21:54:43.718 [pimatic]> at Function.Promise.attempt.Promise.try (/home/marie/pimatic/node_modules/bluebird/js/release/method.js:39:29)
21:54:43.718 [pimatic]> at Object.startup (/home/marie/pimatic/startup.coffee:93:10)
21:54:43.718 [pimatic]> at run (/home/marie/pimatic/pimatic.js:15:24)
21:54:43.718 [pimatic]> at Object.<anonymous> (/home/marie/pimatic/pimatic.js:20:3)
21:54:43.718 [pimatic]> at Module._compile (module.js:541:32)
21:54:43.718 [pimatic]> at Object.Module._extensions..js (module.js:550:10)
21:54:43.718 [pimatic]> at Module.load (module.js:458:32)
21:54:43.718 [pimatic]> at tryModuleLoad (module.js:417:12)
21:54:43.718 [pimatic]> at Function.Module._load (module.js:409:3)
21:54:43.718 [pimatic]> at Module.runMain (module.js:575:10)
21:54:43.718 [pimatic]> at run (node.js:348:7)
21:54:43.718 [pimatic]> at startup (node.js:140:9)
21:54:43.718 [pimatic]> at node.js:463:3
21:54:43.720 [pimatic] exiting...
Why does pimatic try to read config.json from /home/ and not /home/marie/ ?