Does anybody know if this is a problem with nw-gyp or with NW.js ? I'm not sure where to go for further help.Thanks.
--
You received this message because you are subscribed to the Google Groups "nw.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nwjs-general...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<html lang="en">
<head> <meta charset="UTF-8"> <title>NW.js 0.13 Johnny-Five Test</title> <script> var five = nw.require("johnny-five"); var board = new five.Board(); </script> </head>
<body> NW.js 0.13 Johnny-Five Test </body>
</html>Did you install node-gyp globally?"npm install -g node-gyp"
Also, you need install nw-gyp and node-pre-gyp globally.
Make sure that you have the necessary tools to build node native modules (addons). In Windows is Python 2.7 and Visual Studio.
You can specifying the version of Visual Studio that you will use, if it is not define early or if you will use diferent version that are defined.node-pre-gyp rebuild --runtime=node-webkit --target=0.13.0-beta4 --msvs_version=2013
Try it!
Pedro Lucas.
dyld: lazy symbol binding failed: Symbol not found: __ZN2v87Isolate10GetCurrentEv
Referenced from: /Users/MyUser/Documents/Repository/project/node_modules/lwip/build/Release/lwip_image.node
Expected in: dynamic lookup
--
node-pre-gyp info it worked if it ends with oknode-pre-gyp info using node-p...@0.6.23node-pre-gyp info using no...@5.8.0 | linux | x64gyp info it worked if it ends with okgyp info using nw-...@0.13.0gyp info using no...@5.8.0 | linux | x64(node) child_process: options.customFds option is deprecated. Use options.stdio instead.gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]make: Entering directory '/home/bob/test/node_modules/serialport/build'CXX(target) Release/obj.target/serialport/src/serialport.oIn file included from ../../nan/nan.h:25:0,from ../src/serialport.h:5,from ../src/serialport.cpp:3:/home/bob/.nw-gyp/0.13.0-rc3/src/node_buffer.h:13:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]#pragma clang diagnostic push^/home/bob/.nw-gyp/0.13.0-rc3/src/node_buffer.h:14:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]#pragma clang diagnostic ignored "-Wignored-attributes"^/home/bob/.nw-gyp/0.13.0-rc3/src/node_buffer.h:16:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]#pragma clang diagnostic pop^In file included from ../../nan/nan.h:25:0,from ../src/serialport.h:5,from ../src/serialport.cpp:3:/home/bob/.nw-gyp/0.13.0-rc3/src/node_buffer.h:15:64: warning: ‘visibility’ attribute ignored [-Wattributes]NODE_EXTERN typedef void (*FreeCallback)(char* data, void* hint);^In file included from ../src/serialport.h:5:0,from ../src/serialport.cpp:3:../../nan/nan.h:590:20: error: variable or field ‘AddGCEpilogueCallback’ declared voidv8::Isolate::GCEpilogueCallback callback^../../nan/nan.h:590:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’v8::Isolate::GCEpilogueCallback callback^../../nan/nan.h:591:18: error: expected primary-expression before ‘gc_type_filter’, v8::GCType gc_type_filter = v8::kGCTypeAll) {^../../nan/nan.h:596:20: error: variable or field ‘RemoveGCEpilogueCallback’ declared voidv8::Isolate::GCEpilogueCallback callback) {^../../nan/nan.h:596:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’v8::Isolate::GCEpilogueCallback callback) {^../../nan/nan.h:601:20: error: variable or field ‘AddGCPrologueCallback’ declared voidv8::Isolate::GCPrologueCallback callback^../../nan/nan.h:601:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’v8::Isolate::GCPrologueCallback callback^../../nan/nan.h:602:18: error: expected primary-expression before ‘gc_type_filter’, v8::GCType gc_type_filter = v8::kGCTypeAll) {^../../nan/nan.h:607:20: error: variable or field ‘RemoveGCPrologueCallback’ declared voidv8::Isolate::GCPrologueCallback callback) {^../../nan/nan.h:607:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’v8::Isolate::GCPrologueCallback callback) {^serialport.target.mk:88: recipe for target 'Release/obj.target/serialport/src/serialport.o' failedmake: *** [Release/obj.target/serialport/src/serialport.o] Error 1make: Leaving directory '/home/bob/test/node_modules/serialport/build'gyp ERR! build errorgyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/nw-gyp/lib/build.js:286:23)gyp ERR! stack at emitTwo (events.js:100:13)gyp ERR! stack at ChildProcess.emit (events.js:185:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)gyp ERR! System Linux 4.4.1-2-ARCHgyp ERR! command "/usr/bin/node" "/usr/bin/nw-gyp" "build" "--runtime=node-webkit" "--target=0.13.0-rc3" "--python=/usr/bin/python2" "--module=/home/bob/test/node_modules/serialport/build/Release/node-webkit-v0.13.0-rc3-linux-x64/serialport.node" "--module_name=serialport" "--module_path=/home/bob/test/node_modules/serialport/build/Release/node-webkit-v0.13.0-rc3-linux-x64"gyp ERR! cwd /home/bob/test/node_modules/serialportgyp ERR! node -v v5.8.0gyp ERR! nw-gyp -v v0.13.0gyp ERR! not oknode-pre-gyp ERR! build errornode-pre-gyp ERR! stack Error: Failed to execute 'nw-gyp build --runtime=node-webkit --target=0.13.0-rc3 --python=/usr/bin/python2 --module=/home/bob/test/node_modules/serialport/build/Release/node-webkit-v0.13.0-rc3-linux-x64/serialport.node --module_name=serialport --module_path=/home/bob/test/node_modules/serialport/build/Release/node-webkit-v0.13.0-rc3-linux-x64' (1)node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack at emitTwo (events.js:100:13)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:185:7)node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:850:16)node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)node-pre-gyp ERR! System Linux 4.4.1-2-ARCHnode-pre-gyp ERR! command "/usr/bin/node" "/usr/bin/node-pre-gyp" "build" "--runtime=node-webkit" "--target=0.13.0-rc3" "--python=/usr/bin/python2"node-pre-gyp ERR! cwd /home/bob/test/node_modules/serialportnode-pre-gyp ERR! node -v v5.8.0node-pre-gyp ERR! node-pre-gyp -v v0.6.23node-pre-gyp ERR! not okFailed to execute 'nw-gyp build --runtime=node-webkit --target=0.13.0-rc3 --python=/usr/bin/python2 --module=/home/bob/test/node_modules/serialport/build/Release/node-webkit-v0.13.0-rc3-linux-x64/serialport.node --module_name=serialport --module_path=/home/bob/test/node_modules/serialport/build/Release/node-webkit-v0.13.0-rc3-linux-x64' (1)