Open Zibri opened 1 year ago
from MSYS2 if I do:
npm install node-pty
I get:
$ npm install node-pty npm ERR! code 1 npm ERR! path C:\msys64\home\Zibri\wshell2\clients\node_modules\node-pty npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/install.js npm ERR! make: Entering directory '/home/Zibri/wshell2/clients/node_modules/node-pty/build' npm ERR! CXX(target) Release/obj.target/conpty/src\win\conpty.o npm ERR! make: Leaving directory '/home/Zibri/wshell2/clients/node_modules/node-pty/build' npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.3.0 npm ERR! gyp info using node@18.14.0 | win32 | x64 npm ERR! gyp info find Python using Python version 3.10.7 found at "C:\Users\Zibri\AppData\Local\Programs\Pyth on\Python310\python.exe" npm ERR! gyp info spawn C:\Users\Zibri\AppData\Local\Programs\Python\Python310\python.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args 'C:\\msys64\\mingw64\\lib\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_ main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\\msys64\\home\\Zibri\\wshell2\\clients\\node_modules\\node-pty\\build\\conf ig.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\\msys64\\mingw64\\lib\\node_modules\\npm\\node_modules\\node-gyp\\addon.gyp i', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\\msys64\\mingw64\\include\\node\\common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=C:\\msys64\\mingw64', npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\\msys64\\mingw64\\lib\\node_modules\\npm\\node_modules\\node -gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\msys64\\mingw64\\lib\\libnode.dll.a', npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\\msys64\\home\\Zibri\\wshell2\\clients\\node_modules\\nod e-pty', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn make npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] npm ERR! ../src\win\conpty.cc:455:23: fatal error: opening dependency file ./Release/.deps/Release/obj.target/ conpty/src\win\conpty.o.d.raw: No such file or directory npm ERR! 455 | NODE_MODULE(pty, init); npm ERR! | ^ npm ERR! compilation terminated. npm ERR! make: *** [conpty.target.mk:93: Release/obj.target/conpty/src\win\conpty.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (C:\msys64\mingw64\lib\node_modules\npm\node_modules\node-g yp\lib\build.js:203:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! gyp ERR! System MINGW32_NT-10.0 10.0.19045 npm ERR! gyp ERR! command "C:\\msys64\\mingw64\\bin\\node.exe" "C:\\msys64\\mingw64\\lib\\node_modules\\npm\\n ode_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd C:\msys64\home\Zibri\wshell2\clients\node_modules\node-pty npm ERR! gyp ERR! node -v v18.14.0 npm ERR! gyp ERR! node-gyp -v v9.3.0 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Zibri\AppData\Local\npm-cache\_logs\2023-05-28T19_52_13_756Z-debug-0.log
I am still getting this error... please help!
from MSYS2 if I do:
npm install node-pty
I get: