{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-js-example/issues/2","repository_url":"https://api.github.com/repos/ARMmbed/mbed-js-example","labels_url":"https://api.github.com/repos/ARMmbed/mbed-js-example/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-js-example/issues/2/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-js-example/issues/2/events","html_url":"https://github.com/ARMmbed/mbed-js-example/issues/2","id":194439292,"number":2,"title":"gulp --target=nRF51-DK error","user":{"login":"pmcalabrese","id":1509241,"avatar_url":"https://avatars.githubusercontent.com/u/1509241?v=3","gravatar_id":"","url":"https://api.github.com/users/pmcalabrese","html_url":"https://github.com/pmcalabrese","followers_url":"https://api.github.com/users/pmcalabrese/followers","following_url":"https://api.github.com/users/pmcalabrese/following{/other_user}","gists_url":"https://api.github.com/users/pmcalabrese/gists{/gist_id}","starred_url":"https://api.github.com/users/pmcalabrese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmcalabrese/subscriptions","organizations_url":"https://api.github.com/users/pmcalabrese/orgs","repos_url":"https://api.github.com/users/pmcalabrese/repos","events_url":"https://api.github.com/users/pmcalabrese/events{/privacy}","received_events_url":"https://api.github.com/users/pmcalabrese/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-08T20:42:41Z","updated_at":"2016-12-11T12:38:34Z","closed_at":null,"body":"After following the installing instructions,\r\nI try to run\r\n\r\n`gulp --target=nRF51-DK`\r\n\r\nand i get the following error\r\n\r\n```\r\n[21:36:39] Finished 'bundle' after 132 ms\r\n[21:36:39] 'getlibs' errored after 157 ms\r\n[21:36:39] Error: Command `make getlibs` exited with code 2\r\n    at ChildProcess.handleSubShellExit (/Users/mca/dev/mbed-js-example/node_modules/gulp-run/command.js:166:13)\r\n    at ChildProcess.g (events.js:291:16)\r\n    at emitTwo (events.js:106:13)\r\n    at ChildProcess.emit (events.js:191:7)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)\r\n$ make getlibs\r\n[mbed] ERROR: Could not find mbed program in current path \"/Users/mca/dev/mbed-js-example/build/jerryscript/targets/mbedos5\".\r\n[mbed] ERROR: Change the current directory to a valid mbed program or use the '--global' option to set global configuration.\r\n---\r\nmbed config root .\r\n[mbed] ERROR: Could not find mbed program in current path \"/Users/mca/dev/mbed-js-example/build/jerryscript/targets/mbedos5\".\r\n[mbed] ERROR: Change the current directory to a valid mbed program or use the '--global' option to set global configuration.\r\n---\r\nmake: *** [.mbed] Error 255\r\n```\r\n\r\nany suggestions would be much appreciated?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-js-example/issues/comments/266279751","html_url":"https://github.com/ARMmbed/mbed-js-example/issues/2#issuecomment-266279751","issue_url":"https://api.github.com/repos/ARMmbed/mbed-js-example/issues/2","id":266279751,"user":{"login":"matthewelse","id":759697,"avatar_url":"https://avatars.githubusercontent.com/u/759697?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewelse","html_url":"https://github.com/matthewelse","followers_url":"https://api.github.com/users/matthewelse/followers","following_url":"https://api.github.com/users/matthewelse/following{/other_user}","gists_url":"https://api.github.com/users/matthewelse/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewelse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewelse/subscriptions","organizations_url":"https://api.github.com/users/matthewelse/orgs","repos_url":"https://api.github.com/users/matthewelse/repos","events_url":"https://api.github.com/users/matthewelse/events{/privacy}","received_events_url":"https://api.github.com/users/matthewelse/received_events","type":"User","site_admin":false},"created_at":"2016-12-11T12:38:33Z","updated_at":"2016-12-11T12:38:33Z","body":"@pmcalabrese sorry for the delay - have you tried `gulp --target=NRF51_DK` - I think the mbed build tools expect the target name to be formatted in a specific way.\r\n\r\nAdditionally (I might be wrong, @janjongboom will know) - I don't think we've successfully run JavaScript on mbed with the NRF51 DK yet (either not enough RAM or Flash I can't remember), you might have more luck if you can get hold of an NRF52 board (that will then be `gulp --target=NRF52_DK`)"}}
{"actor":{"display_login":"matthewelse"}}