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 use due to wrench unavailable on windows #203

Closed bguiz closed 11 years ago

bguiz commented 11 years ago

Cannot use due to wrench unavailable on windows.

Copied below is the output of running configure, starting from the first warning.

My OS in Windows 7, running this from within a MinGW shell (I also have a Linux box, but cannot reproduce, because Blackberry doesn't have a BB10 webworks SDK for Linux.)

Not sure if this is a bug, or I am doing something wrong, so please let me know if it is the latter.


npm WARN engine express@2.5.0: wanted: {"node":">= 0.4.1 < 0.7.0"} (current: {"node":"v0.8.12","npm":"1.1.63"}) npm ERR! notsup Unsupported npm ERR! notsup Not compatible with your operating system or architecture: wrench@1.3.6 npm ERR! notsup Valid OS: linux,darwin,freebsd npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: win32 npm ERR! notsup Actual Arch: x64

npm ERR! System Windows_NT 6.1.7601 npm ERR! command "c:\Program Files\nodejs\node.exe" "c:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "jasmine-node" "express" "wrench@1.3.6" "jWorkflow" "mustache" "n npm ERR! cwd c:\code\BB10-Webworks-Packager\Framework npm ERR! node -v v0.8.12 npm ERR! npm -v 1.1.63 npm ERR! code EBADPLATFORM npm http GET https://registry.npmjs.org/coffee-script npm http GET https://registry.npmjs.org/connect npm http GET https://registry.npmjs.org/mime npm http GET https://registry.npmjs.org/qs npm http GET https://registry.npmjs.org/mkdirp/0.0.7 npm http 304 https://registry.npmjs.org/coffee-script npm http 304 https://registry.npmjs.org/mime npm http 304 https://registry.npmjs.org/connect npm http 304 https://registry.npmjs.org/qs npm http 304 https://registry.npmjs.org/mkdirp/0.0.7 npm WARN package.json connect@1.7.3 No README.md file found! npm WARN engine connect@1.7.3: wanted: {"node":">= 0.4.1 < 0.7.0"} (current: {"node":"v0.8.12","npm":"1.1.63"}) npm ERR! npm ERR! Additional logging details can be found in: npm ERR! c:\code\BB10-Webworks-Packager\Framework\npm-debug.log npm ERR! not ok code 0 error: Couldn't resolve host 'github.rim.net' while accessing http://github.rim.net/webworks/webplatform.git/info/refs fatal: HTTP request failed Unable to fetch in submodule path 'dependencies/webplatform'

\ WARNING: Webplatform could not be found. ** Please refer to the README for instructions on how to copy the Webplatform from a BB10 Webworks SDK installation before running jake.

Configuring complete. Please proceed with running "jake". jake aborted. Error: Cannot find module '../../node_modules/wrench' at Function.Module._resolveFilename (module.js:338:15) (See full trace by running task with --trace)

nukulb commented 11 years ago

You need to run jake from the cmd.exe not a bash shell, run the bbndk-env.bat before you run jake, it should be able to find everything.

Can you type "which make" after you run the batch file, it should be pointing to the one in the bbndk folder.

What is the issue on Linux?

ericpearson commented 11 years ago

fixed, can be closed

jamesjhedley commented 11 years ago

bguiz is using a newer node than we currently support (0.8.12). Are you sure this was fixed @pagey. Did you test on Windows with no previously installed wrench (-g)? This looks like the issue that will be fixed once we have 0.8.14 node support, but it should still be reproducible until that change is in.

ericpearson commented 11 years ago

re-open this issue then, I thought the change was in for wrench, I thought we updated wrench but kept using 0.6.