0

I'm trying to make a .so file with node.js to be able to make an App but I don't know what the error is, this is the cmd response. supposedly the binding.gyp file is configured correctly, I show it below and it is saved as .JSON { "targets": [ { "target_name": "App", "sources": [ "src/HR_PluginsMgr.cpp"] } ] }

and this is what the cmd shows me when I enter the command node-gyp configure

gyp: binding.gyp not found (cwd: C:\Users\Cuexus\Desktop\test 1) 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:\Users\Cuexus\AppData\Roaming\npm\node_modules\node-gyp\lib\configure.js:325: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:\Users\Cuexus\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" gyp ERR! cwd C:\Users\Cuexus\Desktop\test 1 gyp ERR! node -v v18.12.1 gyp ERR! node-gyp -v v9.3.0 gyp ERR! not ok

I have supposedly installed everything it asked for, I have removed and put the package-lock.json file I think I have downloaded and uploaded the versions of node, python and visual studio. In theory, everything is in the same folder. the truth that I am not sure of anything anymore

0 Answers0