The document shows the log output from running a node-gyp command to rebuild a native addon. It indicates that:
1) node-gyp found Python 3.9.7 and Visual Studio 2022 to use for the build.
2) An error occurred because the binding.gyp file could not be found in the @discordjs/uws module directory.
3) The node-gyp command ultimately did not complete successfully with the error code 1.
The document shows the log output from running a node-gyp command to rebuild a native addon. It indicates that:
1) node-gyp found Python 3.9.7 and Visual Studio 2022 to use for the build.
2) An error occurred because the binding.gyp file could not be found in the @discordjs/uws module directory.
3) The node-gyp command ultimately did not complete successfully with the error code 1.
The document shows the log output from running a node-gyp command to rebuild a native addon. It indicates that:
1) node-gyp found Python 3.9.7 and Visual Studio 2022 to use for the build.
2) An error occurred because the binding.gyp file could not be found in the @discordjs/uws module directory.
3) The node-gyp command ultimately did not complete successfully with the error code 1.
gyp info using node@18.6.0 | win32 | x64 gyp info find Python using Python version 3.9.7 found at "C:\Users\p4nko\AppData\ Local\Programs\Python\Python39\python.exe" gyp info find VS using VS2022 (17.3.32811.315) found at: gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Community" gyp info find VS run with --verbose for detailed information gyp info spawn C:\Users\p4nko\AppData\Local\Programs\Python\Python39\python.exe gyp info spawn args [ gyp info spawn args 'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\ node-gyp\\gyp\\gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'msvs', gyp info spawn args '-I', gyp info spawn args 'C:\\Users\\p4nko\\Desktop\\XDDDDD\\node_modules\\ @discordjs\\uws\\build\\config.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\ node-gyp\\addon.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\\Users\\p4nko\\AppData\\Local\\node-gyp\\Cache\\18.6.0\\ include\\node\\common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=C:\\Users\\p4nko\\AppData\\Local\\node-gyp\\ Cache\\18.6.0', gyp info spawn args '-Dnode_gyp_dir=C:\\Program Files\\nodejs\\node_modules\\ npm\\node_modules\\node-gyp', gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\p4nko\\\\AppData\\\\Local\\\\ node-gyp\\\\Cache\\\\18.6.0\\\\<(target_arch)\\\\node.lib', gyp info spawn args '-Dmodule_root_dir=C:\\Users\\p4nko\\Desktop\\XDDDDD\\ node_modules\\@discordjs\\uws', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'C:\\Users\\p4nko\\Desktop\\XDDDDD\\node_modules\\ @discordjs\\uws\\build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp: binding.gyp not found (cwd: C:\Users\p4nko\Desktop\XDDDDD\node_modules\ @discordjs\uws) while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\ npm\node_modules\node-gyp\lib\configure.js:261:16) gyp ERR! stack at ChildProcess.emit (node:events:513:28) gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12) gyp ERR! System Windows_NT 10.0.19044 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\p4nko\Desktop\XDDDDD\node_modules\@discordjs\uws gyp ERR! node -v v18.6.0 gyp ERR! node-gyp -v v9.0.0 gyp ERR! not ok