blackberry / bbUI.js

BlackBerry UI look and feel JavaScript toolkit for WebWorks
Apache License 2.0
312 stars 192 forks source link

bb10 example doesn't work with latest Web Works 2.0 release 2.1.0.13 #1021

Closed RahimKanjiyani closed 10 years ago

RahimKanjiyani commented 10 years ago

Looks like the bb10 example is built against cordova.v2.0.0.71. The latest version of webworks is using cordova 2.1.0.13. Please update the example. I am getting following error messages upon compilation.

Error: Cannot find module 'exit' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17)

tneil commented 10 years ago

Interesting.. I believe I have WebWorks 2.0 on my machine, I'll upgrade to 2.1 and try it out

RahimKanjiyani commented 10 years ago

Okay, Thanks. I think the problem is somewhere in blackberry platform files. I can compile successfully if I don't copy the platform files.

tneil commented 10 years ago

I just downloaded the latest WebWorks 2.1 SDK and the sample seems to be working fine now.