Ripple (0.9.19) and BB10 WebWorks SDK 2.0.0.54 on Mac

I cannot get Ripple to create using the SDK installed in the default location. I get the error message β€œOh Snap! Build error” with the message: ./ Applications / BlackBerry / BB10 WebWorks SDK 2.0.0.54 is not a valid path "( EDIT : THIS PROBLEM HAS BEEN INSTALLED". "- PLEASE SEE THE ERROR BELOW) - but that’s where the SDK is installed.

I follow this guide here: http://www.patrickcatanzariti.com/2013/01/my-guide-to-developing-a-blackberry-html5-webworks-mobile-app/

but I did not succeed. I also tried copying the BlackBerry10Simulator-BB10_2_0X-1791 folder from. / Documents / Virtual Machines to this folder, and I still get the same error when trying to build, as well as another error when editing the settings: "No simulators were found"

Has anyone created this version of Ripple and BB10?

EDIT

I changed the platform to BlackBerry 10 Webworks. Now an error appears on the command line:

Checking the output path / Users / username / Development / BlackBerry / BB_Output /
Path already exists
Running zip in / Users / username / Development / BlackBerry / Blackberry / BlackBerry
exec - "zip" -r "/ Users / username / Development / BlackBerry / BB _Output / Output.zip" *
out: addition: BlackBerry.zip
out: (stored 0%)
add: config.xml (63% rejected)
add: css / (0% saved)
add: css / app.css (82% rejected)
addition: images / (0% saved)
add: images / image1.png
out: (rejected 0%)
add: images / Image3.png
out: (stored 0%)
add: images / smallImage.png
out: (stored 0%)
addition: images / Thumbs.db
out: (rejected 28%)
add: js /
out: (stored 0%)
add: js / jquery-1.10.2.min.js
out: (rejected 65%)
add: js / jquery.soap.js
out: (rejected 69%)
add: js / msisdn.js
out: (rejected 66%)
add: js / panic.js
out: (rejected 76%)
add: screen1.html
out: (rejected 61%)
add: screen2.html
out: (rejected 74%)
add: phoneNumber.html (66% rejected)
add: settings.html (57% rejected)
add: start.html (56% rejected)

Error: Error: Cordoba does not know
/Users/username/Development/BlackBerry/BB_Output/Output.zip; try help for a list of all available commands.
on the new CLI (/ Applications / BlackBerry / BB10 WebWorks SDK 2.0.0.54/webworks-cli/ node_modules / cordova / src / cli.js: 114: 15)
on the new CLI (/ Applications / BlackBerry / BB10 WebWorks SDK 2.0.0.54/webworks-cli/lib/cli.js:91:31)
in the facility. (/ Applications / BlackBerry / BB10 WebWorks SDK 2.0.0.54/webworks-cli/bin/webworksrige:16)
on Module._compile (module.js: 456: 26)
in Object.Module._extensions..js (module.js: 474: 10)
on Module.load (module.js: 356: 32)
in Function.Module._load (module.js: 312: 12)
in Function.Module.runMain (module.js: 497: 10)
at startup (node.js: 119: 16)
on node.js: 901: 3

+6
source share
2 answers

So, the short answer is that Ripple is not compatible with the beta version of WebWorks 2.x.

If you just use the packaging and deployment features that you intend to use, I would recommend just using the CLI (command line interface).

While the CLI is generally scary and unintuitive, I can assure you that the new WW 2.x CLI is very simple. I used to use Ripple for packaging and deployment until I started working with this new CLI. Now this is the whole team, all the time for me.

Here's the easiest way to make it work, this is also what I do. Additional information is also available here https://github.com/apache/cordova-blackberry/tree/master/blackberry10

  • Put your device in development mode
  • Connect it to Mac via USB

Open a terminal and enter the following:

  • Create a new project: "webworks create / Users / Chad / testapp com.chadsapps.testapp" This will create a hello world sample application, right out of the box

  • Change the directory to the project: "cd / Users / Chad / testapp"

  • Deploy the application on the device: "webworks run" If there is no debugging token on your device, it will automatically detect it via USB and create it. You will be asked to enter your Keystore password at the invitation.

You should now have the hello world app on your device!

If you are looking for a part of Ripple emulation / testing, you will have to use simulators instead (for WebWorks 2.0), which is available at https://developer.blackberry.com/html5/downloads/

Hope this helps, if not, please feel free to ask;)

-Chad @chadtatro

+1
source

Install the nodes and try again. This is because in your error logs the launch of node.js is displayed, something is wrong in node.js: 119: 116

0
source

All Articles