[
https://issues.apache.org/jira/browse/CB-4403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13722516#comment-13722516
]
Bryan Higgins commented on CB-4403:
-----------------------------------
We tracked this down to the blackberry NDK tools not being available on the
system PATH.
This section in the docs got lost before publishing:
After installing the BlackBerry Native SDK, its tools must be added to your
system path. Either manually add the bin directory to your path or run the
following scripts from the directory where you installed the NDK:
Windows
bbndk-env.bat
Linux/Mac
source bbndk-env.sh
There are two changes we should get into resolve this:
1) All scripts error out with appropriate error message when blackberry tools
are not found on PATH.
2) Update docs to explain how to permanently add tools to the system path in
Mac/Linux/Windows.
> [BlackBerry10] Unhandled exception on build
> -------------------------------------------
>
> Key: CB-4403
> URL: https://issues.apache.org/jira/browse/CB-4403
> Project: Apache Cordova
> Issue Type: Bug
> Components: BlackBerry
> Affects Versions: 2.9.0
> Reporter: Bryan Higgins
> Assignee: Bryan Higgins
> Fix For: 3.1.0
>
>
> A few different people have reported that the build script fails with the
> error message below. So far I have been unable to reproduce.
> events.js:72 throw er; // Unhandled 'error' event
> Error: spawn ENOENT
> at errnoException (child_process.js:980:11)
> at Process.ChildProcess._handle.onexit (child_process.js:771:34)
> http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Unhandled-error-when-building-or-runnning-a-Cordova-PhoneGap/
> https://groups.google.com/forum/#!msg/phonegap/oHc6L643GNM/MbcqBeuiaZcJ
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira