Open aylanonsense opened 7 years ago
I'm looking to experiment with this repo but I'm having issues getting it running.
OS: Widows 10 (64 bit) node: v7.10.0 (64 bit) npm: v5.3.0 node-gyp: v3.6.2 java: v1.8.0_144 (32 bit) python: v2.7.13 (32 bit)
When I run npm install --save stanford-simple-nlp in C:\Users\bridgs\repos\nlp-schtuff I get:
npm install --save stanford-simple-nlp
C:\Users\bridgs\repos\nlp-schtuff
> node-gyp rebuild C:\Users\bridgs\repos\nlp-schtuff\node_modules\java>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\no de_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) Warning: Missing input files: C:\Program Files (x86)\Java\jdk1.8.0_144\;C:\Program Files (x86)\Java\jdk1.8.0_144\bin\;\include\win32\jni_md.h C:\Program Files (x86)\Java\jdk1.8.0_144\;C:\Program Files (x86)\Java\jdk1.8.0_144\bin\;\lib\jvm.lib C:\Program Files (x86)\Java\jdk1.8.0_144\;C:\Program Files (x86)\Java\jdk1.8.0_144\bin\;\include\jni.h Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Verify Deps Verify Deps Verify Deps java.cpp javaObject.cpp javaScope.cpp methodCallBaton.cpp c:\users\bridgs\repos\nlp-schtuff\node_modules\java\src\javaScope.h(5): fatal error C1083: Cannot open include file: 'j ni.h': No such file or directory (compiling source file ..\src\javaScope.cpp) [C:\Users\bridgs\repos\nlp-schtuff\node_m odules\java\build\nodejavabridge_bindings.vcxproj] nodeJavaBridge.cpp c:\users\bridgs\repos\nlp-schtuff\node_modules\java\src\utils.h(7): fatal error C1083: Cannot open include file: 'jni.h ': No such file or directory (compiling source file ..\src\methodCallBaton.cpp) [C:\Users\bridgs\repos\nlp-schtuff\node _modules\java\build\nodejavabridge_bindings.vcxproj] c:\users\bridgs\repos\nlp-schtuff\node_modules\java\src\javaObject.h(7): fatal error C1083: Cannot open include file: ' jni.h': No such file or directory (compiling source file ..\src\javaObject.cpp) [C:\Users\bridgs\repos\nlp-schtuff\node _modules\java\build\nodejavabridge_bindings.vcxproj] c:\users\bridgs\repos\nlp-schtuff\node_modules\java\src\java.h(7): fatal error C1083: Cannot open include file: 'jni.h' : No such file or directory (compiling source file ..\src\java.cpp) [C:\Users\bridgs\repos\nlp-schtuff\node_modules\jav a\build\nodejavabridge_bindings.vcxproj] utils.cpp win_delay_load_hook.cc c:\users\bridgs\repos\nlp-schtuff\node_modules\java\src\java.h(7): fatal error C1083: Cannot open include file: 'jni.h' : No such file or directory (compiling source file ..\src\nodeJavaBridge.cpp) [C:\Users\bridgs\repos\nlp-schtuff\node_m odules\java\build\nodejavabridge_bindings.vcxproj] c:\users\bridgs\repos\nlp-schtuff\node_modules\java\src\utils.h(7): fatal error C1083: Cannot open include file: 'jni.h ': No such file or directory (compiling source file ..\src\utils.cpp) [C:\Users\bridgs\repos\nlp-schtuff\node_modules\j ava\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:2 58:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:194:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Windows_NT 10.0.15063 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 C:\Users\bridgs\repos\nlp-schtuff\node_modules\java gyp ERR! node -v v7.10.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm WARN nlp-schtuff@1.0.0 No description npm WARN nlp-schtuff@1.0.0 No repository field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! java@0.2.9 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the java@0.2.9 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Anyone have any thoughts?
I'm looking to experiment with this repo but I'm having issues getting it running.
When I run
npm install --save stanford-simple-nlp
inC:\Users\bridgs\repos\nlp-schtuff
I get:Anyone have any thoughts?