blackberry / BB10-Webworks-Packager

The BB10 WebWorks Packager bundles the App content with the BB10 WebWorks Framework to create a BAR to run on the BB10 Device (or simulator)
27 stars 18 forks source link

Cannot find module '../Framework/lib/webworks-info' #244

Closed fariazz closed 11 years ago

fariazz commented 11 years ago

I've gone through the instructors for Linux (using Ubuntu 12.10) and when executing bbwp in both the root installation folder or the /target/zip folder I get this error:

Cannot find module '../Framework/lib/webworks-info'

Steps I've followed:

I get some weird error at the end of the .configure:

Configuring complete. Please proceed with running "jake".
EXECUTING make JLEVEL=4
Makefile:8: recurse.mk: No such file or directory
make: *** No rule to make target `recurse.mk'.  Stop.
BB10-Framework BUILD FAILED:
2

Then I try to run bbwp and get the webworks-info error. I also copied the node executable inside the target/zip/thirdpaty/node/linux folder and executed target/zip/bbwp and get the same error message.

jeffheifetz commented 11 years ago

The error you're displaying at the end of the configure script is because the Packager configuration was unable to build the Framework repo. The error is because it cannot find recurse.mk, a script that will be included in your path after the bbndk script.

Instead of just executing the script, please source it so that it modifies your environment like so source bbndk-env.sh. This should resolve the issue.

fariazz commented 11 years ago

Thanks a lot for that @jeffheifetz I was able to build with that.