-
Notifications
You must be signed in to change notification settings - Fork 17
face detection app generate error on OS when use "matrix start" from CLI #85
Comments
Hi @arleneF on |
Thanks for replying. @gordinh Stopping buildindetection TypeError: Cannot read property 'start' of undefined Stopping buildindetection |
Are you using the latest MOS version? Also show me your app.js and config.yaml |
I think it is the latest one, I download it four days ago, and also do
and config.yaml:
|
Ok @arleneF i've just tested here and as you can see below there's nothing wrong on it. Please check if you are using
|
oh I found my OS version is v0.14.0, so I have to re-install it again? since I did update and upgrade several times and the version keeps the same. |
You can just use |
I follow the instruction online to run the simple face detection application:
https://www.youtube.com/watch?v=8jkWwum8O8Q
and I also take a look at post #80.
right now my config.yaml is
and the app.js is simply
matrix.service('face').start.then(function(data){ console.log(data); });
but I still get the error message from matrix os:
==== Application buildindetection started! ====
(buildindetection) Matrix OS Application Library Loading...
(buildindetection) service> undefined
(buildindetection)err invalid service declared. No configuration available for face
Stopping buildindetection
(buildindetection)err /home/pi/matrix-os/apps/buildindetection.matrix/app.js:1
(function (exports, require, module, __filename, __dirname) { matrix.service('face').start.then(function(data){
^
TypeError: Cannot read property 'start' of undefined
at Object. (/home/pi/matrix-os/apps/buildindetection.matrix/app.js:1:85)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/home/pi/matrix-os/apps/buildindetection.matrix/index.js:7:1)
at Module._compile (module.js:556:32)
Stopping buildindetection
Uncaught exception: TypeError: Cannot convert undefined or null to object
at ChildProcess. (/home/pi/matrix-os/lib/service/manager.js:503:21)
at emitNone (events.js:86:13)
at ChildProcess.emit (events.js:185:7)
at finish (internal/child_process.js:711:14)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9) TypeError: Cannot convert undefined or null to object
at ChildProcess. (/home/pi/matrix-os/lib/service/manager.js:503:21)
at emitNone (events.js:86:13)
at ChildProcess.emit (events.js:185:7)
at finish (internal/child_process.js:711:14)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
UNKNOWN ERROR! TypeError: Cannot convert undefined or null to object
at ChildProcess. (/home/pi/matrix-os/lib/service/manager.js:503:21)
at emitNone (events.js:86:13)
at ChildProcess.emit (events.js:185:7)
at finish (internal/child_process.js:711:14)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
Unable to clean, exitting...
What's more, I install the malos and malos_eye on my Pi and run the example code successfully, so I've no idea about how to fix this issue, any suggestions?
The text was updated successfully, but these errors were encountered: