hiteshjoshi / node-stanford-corenlp

A simple node.js wrapper for Stanford CoreNLP.
Other
75 stars 35 forks source link

installation error #22

Open mehmetilker opened 8 years ago

mehmetilker commented 8 years ago

When I try to install I got errors as follow: I have JDK 1.8 and Ptyhon 2.7 installed. Is there something wrong with my configuration ? ` ====Executing command 'npm install stanford-corenlp --save '====

java@0.6.1 install E:\Projects\StanfordNLPNodeJs\node_modules\java node-gyp rebuild E:\Projects\StanfordNLPNodeJs\node_modules\java>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. java.cpp javaObject.cpp javaScope.cpp methodCallBaton.cpp nodeJavaBridge.cpp E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(590): error C2039: 'GCEpilogueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\javaObject.cpp) E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(590): error C2065: 'GCEpilogueCallback': undeclared identifier (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(590): error C2039: 'GCEpilogueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\java.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj]

C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\java.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\javaObject.cpp)

E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(590): error C2065: 'GCEpilogueCallback': undeclared identifier (compiling source file ..\src\java.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\java.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(590): error C2039: 'GCEpilogueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\nodeJavaBridge.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\java.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2039: 'GCEpilogueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj]

C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\nodeJavaBridge.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\java.cpp)C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\javaObject.cpp)

E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(590): error C2065: 'GCEpilogueCallback': undeclared identifier (compiling source file ..\src\nodeJavaBridge.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2039: 'GCEpilogueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\java.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2065: 'GCEpilogueCallback': undeclared identifier (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj]

C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\java.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(590): error C2039: 'GCEpilogueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\methodCallBaton.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\nodeJavaBridge.cpp)

C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\methodCallBaton.cpp) E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2065: 'GCEpilogueCallback': undeclared identifier (compiling source file ..\src\java.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\nodeJavaBridge.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(590): error C2065: 'GCEpilogueCallback': undeclared identifier (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\java.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\nodeJavaBridge.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\java.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2039: 'GCEpilogueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\nodeJavaBridge.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj]

C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\nodeJavaBridge.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(601): error C2039: 'GCPrologueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\javaObject.cpp)

C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\javaObject.cpp) E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\java.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2065: 'GCEpilogueCallback': undeclared identifier (compiling source file ..\src\nodeJavaBridge.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(601): error C2065: 'GCPrologueCallback': undeclared identifier (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(601): error C2039: 'GCPrologueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\java.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\nodeJavaBridge.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2039: 'GCEpilogueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj]

C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\java.cpp)C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\methodCallBaton.cpp) E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj]

E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\nodeJavaBridge.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(601): error C2065: 'GCPrologueCallback': undeclared identifier (compiling source file ..\src\java.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2065: 'GCEpilogueCallback': undeclared identifier (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\nodeJavaBridge.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\java.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(601): error C2039: 'GCPrologueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\nodeJavaBridge.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\java.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj]

C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\nodeJavaBridge.cpp) E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2039: 'GCPrologueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\java.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\javaObject.cpp) E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(601): error C2065: 'GCPrologueCallback': undeclared identifier (compiling source file ..\src\nodeJavaBridge.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2039: 'GCPrologueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\java.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2065: 'GCPrologueCallback': undeclared identifier (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj]

C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\java.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\nodeJavaBridge.cpp)

E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\javaObject.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(601): error C2039: 'GCPrologueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj]

E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2065: 'GCPrologueCallback': undeclared identifier (compiling source file ..\src\java.cpp)C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj]

E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\nodeJavaBridge.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(601): error C2065: 'GCPrologueCallback': undeclared identifier (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\java.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\nodeJavaBridge.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\javaObject.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\java.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\methodCallBaton.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2039: 'GCPrologueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\nodeJavaBridge.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj]

E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\java.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\nodeJavaBridge.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\methodCallBaton.cpp)

E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2065: 'GCPrologueCallback': undeclared identifier (compiling source file ..\src\nodeJavaBridge.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2039: 'GCPrologueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\methodCallBaton.cpp)E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\nodeJavaBridge.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj]

C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\methodCallBaton.cpp) E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\nodeJavaBridge.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2065: 'GCPrologueCallback': undeclared identifier (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\nodeJavaBridge.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\methodCallBaton.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] utils.cpp ..\src\java.cpp(455): warning C4311: 'type cast': pointer truncation from 'DynamicProxyData ' to 'long' [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] ..\src\java.cpp(455): warning C4302: 'type cast': truncation from 'DynamicProxyData ' to 'long' [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(590): error C2039: 'GCEpilogueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\utils.cpp) E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(590): error C2065: 'GCEpilogueCallback': undeclared identifier (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(591): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2039: 'GCEpilogueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\utils.cpp) E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2065: 'GCEpilogueCallback': undeclared identifier (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(596): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(601): error C2039: 'GCPrologueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\utils.cpp) E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(601): error C2065: 'GCPrologueCallback': undeclared identifier (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(602): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2039: 'GCPrologueCallback': is not a member of 'v8::Isolate' (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] C:\Users\meteh.node-gyp\6.2.0\include\node\v8.h(5306): note: see declaration of 'v8::Isolate' (compiling source file ..\src\utils.cpp) E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2065: 'GCPrologueCallback': undeclared identifier (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2146: syntax error: missing ')' before identifier 'callback' (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2143: syntax error: missing ';' before '{' (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] E:\Projects\StanfordNLPNodeJs\node_modules\nan\nan.h(607): error C2447: '{': missing function header (old-style formal list?) (compiling source file ..\src\utils.cpp) [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] ..\src\utils.cpp(499): warning C4244: '=': conversion from 'jchar' to 'char', possible loss of data [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] ..\src\utils.cpp(616): warning C4244: '=': conversion from 'jchar' to 'char', possible loss of data [E:\Projects\StanfordNLPNodeJs\node_modules\java\build\nodejavabridge_bindings.vcxproj] gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) gyp ERR! System Windows_NT 10.0.10586 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd E:\Projects\StanfordNLPNodeJs\node_modules\java gyp ERR! node -v v6.2.0 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok npm WARN lingo.services.stanford-nlp@0.0.0 No repository field. npm WARN lingo.services.stanford-nlp@0.0.0 No license field. npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "stanford-corenlp" "--save" npm ERR! node v6.2.0 npm ERR! npm v3.8.9 npm ERR! code ELIFECYCLE npm ERR! java@0.6.1 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the java@0.6.1 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the java package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs java npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls java npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! E:\Projects\StanfordNLPNodeJs\npm-debug.log

====npm command completed with exit code 1==== `

sourabh1007 commented 7 years ago

hi, is this problem solved for you? I am facing same problem.

mehmetilker commented 7 years ago

@novigolabs no unfortunately, did not spent time to solve.