Skip to content

node-gyp refuses to run make #5

@Kreijstal

Description

@Kreijstal
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@10.3.1
npm error gyp info using node@23.5.0 | win32 | x64
npm error gyp info find Python using Python version 3.12.9 found at "E:/msys64/ucrt64/bin/python3.exe"
npm error gyp ERR! find VS
npm error gyp ERR! find VS msvs_version not set from command line or npm config
npm error gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm error gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details.
npm error gyp ERR! find VS
npm error gyp ERR! find VS Failure details: undefined
npm error gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details.
npm error gyp ERR! find VS
npm error gyp ERR! find VS Failure details: undefined
npm error gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21
npm error gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21
npm error gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21
npm error gyp ERR! find VS not looking for VS2015 as it is only supported up to Node.js 18
npm error gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm error gyp ERR! find VS
npm error gyp ERR! find VS **************************************************************
npm error gyp ERR! find VS You need to install the latest version of Visual Studio
npm error gyp ERR! find VS including the "Desktop development with C++" workload.
npm error gyp ERR! find VS For more information consult the documentation at:
npm error gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
npm error gyp ERR! find VS **************************************************************
npm error gyp ERR! find VS
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: Could not find any Visual Studio installation to use
npm error gyp ERR! stack at VisualStudioFinder.fail (E:\msys64\home\topkek\git\node-ffi-napi\node_modules\node-gyp\lib\find-visualstudio.js:118:11)
npm error gyp ERR! stack at VisualStudioFinder.findVisualStudio (E:\msys64\home\topkek\git\node-ffi-napi\node_modules\node-gyp\lib\find-visualstudio.js:74:17)
npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
npm error gyp ERR! stack at async createBuildDir (E:\msys64\home\topkek\git\node-ffi-napi\node_modules\node-gyp\lib\configure.js:112:18)
npm error gyp ERR! stack at async run (E:\msys64\home\topkek\git\node-ffi-napi\node_modules\node-gyp\bin\node-gyp.js:81:18)
npm error gyp ERR! System MINGW32_NT-10.0 10.0.22631
npm error gyp ERR! command "E:\\msys64\\ucrt64\\bin\\node.exe" "E:\\msys64\\home\\topkek\\git\\node-ffi-napi\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm error gyp ERR! cwd E:\msys64\home\topkek\git\node-ffi-napi\node_modules\@makeomatic\ref-napi
npm error gyp ERR! node -v v23.5.0
npm error gyp ERR! node-gyp -v v10.3.1
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: C:\Users\topkek\AppData\Local\npm-cache\_logs\2025-04-02T18_07_14_935Z-debug-0.log

I am not using visual studio, I do have a c, c++ toolchain, which is gcc... the original node-ffi-napi used the system node-gyp which can be patched to support the system compiler..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions