nw-gyp fails to download nw-headers

3 views
Skip to first unread message

Nelson Rodrigues

unread,
Jun 13, 2013, 12:06:53 PM6/13/13
to node-...@googlegroups.com
$ nw-gyp configure --version=0.6.0
gyp info it worked if it ends with ok
gyp info using nw-...@0.7.3-4
gyp info using no...@0.10.5 | win32 | x64
gyp http GET http://node-webkit.s3.amazonaws.com/v0.10.5/nw-headers-v0.10.5.tar.gz
gyp http 404 http://node-webkit.s3.amazonaws.com/v0.10.5/nw-headers-v0.10.5.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 404 status code downloading tarball

Roger

unread,
Jun 14, 2013, 1:11:14 AM6/14/13
to Nelson Rodrigues, node-...@googlegroups.com
Nelson Rodrigues <nels...@gmail.com> writes:

>> $ nw-gyp configure --version=0.6.0

it should be "target" rather than "version".

--
Roger

Nelson Rodrigues

unread,
Jun 14, 2013, 7:51:50 AM6/14/13
to node-...@googlegroups.com, Nelson Rodrigues
Oh.. I screwed up. Thanks for the correction! :) 
Message has been deleted

Anatoly Pashin

unread,
Sep 15, 2013, 3:41:32 PM9/15/13
to node-...@googlegroups.com
It tryes to get headers with path based on node version, not nw. Seems like it should get v0.7.3/nw-headers-v0.7.3.tar.gz


2013/9/16 <lfsan...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Пашин Анатолий,
эникейщик.

Frank Hale

unread,
Nov 24, 2013, 2:23:07 PM11/24/13
to node-...@googlegroups.com
I'm seeing this issue as well trying to build edge.js. I configure my target for node-webkit 0.8.1 and it attempts to download the nw-headers and fails. I'm not sure how to resolve this.


gyp info it worked if it ends with ok
gyp info using nw-...@0.10.9
gyp info using no...@0.10.22 | win32 | ia32
r.gz
r.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 404 status code downloading tarball

Frank Hale

unread,
Nov 24, 2013, 2:31:39 PM11/24/13
to node-...@googlegroups.com
Apparently it's 

nw-gyp configure --target=v0.8.1

but now I have another issue, has anyone run into this when building edge.js?

C:\Users\Frank\Documents\GitHub\edge>nw-gyp build --msvs_version=2013
gyp info it worked if it ends with ok
gyp info using nw-...@0.10.9
gyp info using no...@0.10.22 | win32 | ia32
gyp info spawn C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args   '/clp:Verbosity=minimal',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=Win32' ]
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
  clrfuncreflectionwrap.cpp
  edge.cpp
  nodejsfunc.cpp
  nodejsfuncinvokecontext.cpp
..\src\nodejsfuncinvokecontext.cpp(71): warning C4996: 'v8::FunctionTemplate::N
ew': was declared deprecated [C:\Users\Frank\Documents\GitHub\edge\build\edge.v
cxproj]
          C:\Users\Frank\.nw-gyp\0.8.1\deps\v8\include\v8.h(3338) : see declara
  tion of 'v8::FunctionTemplate::New'
c:\users\frank\.nw-gyp\0.8.1\src\node.h(124): warning C4996: 'v8::FunctionTempl
ate::New': was declared deprecated [C:\Users\Frank\Documents\GitHub\edge\build\
edge.vcxproj]
          C:\Users\Frank\.nw-gyp\0.8.1\deps\v8\include\v8.h(3338) : see declara
  tion of 'v8::FunctionTemplate::New'
          ..\src\edge.cpp(20) : see reference to function template instantiatio
  n 'void node::SetMethod<v8::Handle<T>>(target_t,const char *,v8::InvocationCa
  llback)' being compiled
          with
          [
              T=v8::Object,
              target_t=v8::Handle<v8::Object>
          ]
  clrfunc.cpp
  persistentdisposecontext.cpp
  utils.cpp
  clractioncontext.cpp
..\src\clrfunc.cpp(41): warning C4996: 'v8::FunctionTemplate::New': was declare
d deprecated [C:\Users\Frank\Documents\GitHub\edge\build\edge.vcxproj]
          C:\Users\Frank\.nw-gyp\0.8.1\deps\v8\include\v8.h(3338) : see declara
  tion of 'v8::FunctionTemplate::New'
..\src\clrfunc.cpp(43): error C2664: 'void v8::Persistent<T>::MakeWeak<void>(P
*,void (__cdecl *)(v8::Isolate *,v8::Persistent<T> *,P *))' : cannot convert pa
rameter 2 from 'void (__cdecl *)(v8::Persistent<T>,void *)' to 'void (__cdecl *
)(v8::Isolate *,v8::Persistent<T> *,P *)' [C:\Users\Frank\Documents\GitHub\edge
\build\edge.vcxproj]
          with
          [
              T=v8::Function,
              P=void
          ]
          and
          [
              T=v8::Value
          ]
          and
          [
              T=v8::Function,
              P=void
          ]
          None of the functions with this name in scope match the target type
  v8synchronizationcontext.cpp
  clrfuncinvokecontext.cpp
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` fail
ed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\Frank\AppData\Roaming\npm\no
de_modules\nw-gyp\lib\build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:
12)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\\Users\\Frank\\AppData\\Roaming\\npm\\node_modules\\
nw-gyp\\bin\\nw-gyp.js" "build" "--msvs_version=2013"
gyp ERR! cwd C:\Users\Frank\Documents\GitHub\edge
gyp ERR! node -v v0.10.22
gyp ERR! nw-gyp -v v0.10.9
gyp ERR! not ok

Frank Hale

unread,
Nov 24, 2013, 3:12:51 PM11/24/13
to node-...@googlegroups.com
Apparently Edge.JS will not build unless the NW target is less than version 0.7.0. I've successfully built it using 0.6.3 but simply requiring the module instantly crashes NW. So I'm at a loss on how to successfully get Node-Webkit working with Edge.JS.
Reply all
Reply to author
Forward
0 new messages