Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HI! I need help with "node-gyp configure --verbose" #8523

Open
MrvZzZzZ opened this issue Feb 24, 2025 · 1 comment
Open

HI! I need help with "node-gyp configure --verbose" #8523

MrvZzZzZ opened this issue Feb 24, 2025 · 1 comment
Assignees
Labels

Comments

@MrvZzZzZ
Copy link

node-gyp configure --verbose
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli 'C:\Program Files\nodejs\node.exe',
gyp verb cli 'C:\Users\Антон\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js',
gyp verb cli 'configure',
gyp verb cli '--verbose'
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb find Python Python is not set from command line or npm configuration
gyp verb find Python Python is not set from environment variable PYTHON
gyp verb find Python checking if the py launcher can be used to find Python 3
gyp verb find Python - executing "py.exe" to get Python 3 executable path
gyp verb find Python - executable path is "C:\Python313\python.exe"
gyp verb find Python - executing "C:\Python313\python.exe" to get version
gyp verb find Python - version is "3.13.1"
gyp info find Python using Python version 3.13.1 found at "C:\Python313\python.exe"
gyp verb get node dir no --target version specified, falling back to host node version: 22.14.0

gyp verb install input version string "22.14.0"
gyp verb install installing version: 22.14.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 11
gyp verb needs "installVersion" 11
gyp verb install version is good
gyp verb on Windows; need to check node.lib
gyp verb get node dir target node version installed: 22.14.0
gyp verb build dir attempting to create "build" dir: C:\Users\Антон\Desktop\Unic\6 сем\IT\Новая папка\build
gyp verb build dir "build" dir needed to be created? Yes
gyp verb find VS msvs_version not set from command line or npm config
gyp verb find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp verb find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details.
gyp verb find VS
gyp verb find VS Failure details: undefined
gyp verb find VS checking VS2022 (17.13.35818.85) found at:
gyp verb find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
gyp verb find VS - found "Visual Studio C++ core features"
gyp verb find VS - missing any VC++ toolset
gyp verb find VS checking VS2022 (17.13.35818.85) found at:
gyp verb find VS "C:\Program Files\Microsoft Visual Studio\2022\Professional"
gyp verb find VS - found "Visual Studio C++ core features"
gyp verb find VS - found VC++ toolset: v143
gyp verb find VS - found Windows SDK: 10.0.22621.0
gyp info find VS using VS2022 (17.13.35818.85) found at:
gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Professional"
gyp info find VS run with --verbose for detailed information
gyp verb build/config.gypi creating config file
gyp verb build/config.gypi writing out config file: C:\Users\Антон\Desktop\Unic\6 сем\IT\Новая папка\build\config.gypi
gyp verb config.gypi checking for gypi file: C:\Users\Антон\Desktop\Unic\6 сем\IT\Новая папка\config.gypi
gyp verb common.gypi checking for gypi file: C:\Users\Антон\Desktop\Unic\6 сем\IT\Новая папка\common.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn C:\Python313\python.exe
gyp info spawn args [
gyp info spawn args 'C:\Users\Антон\AppData\Roaming\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\Антон\Desktop\Unic\6 сем\IT\Новая папка\build\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Антон\AppData\Roaming\npm\node_modules\node-gyp\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Антон\AppData\Local\node-gyp\Cache\22.14.0\include\node\common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
.0',
gyp info spawn args '-Dnode_gyp_dir=C:\Users\Антон\AppData\Roaming\npm\node_modules\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\Users\\Антон\\AppData\\Local\\node-gyp\\Cache\\22.14.0\\<(target_arch)\\node.lib',
gyp info spawn args '-Dmodule_root_dir=C:\Users\Антон\Desktop\Unic\6 сем\IT\Новая папка',
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\Антон\Desktop\Unic\6 сем\IT\Новая папка\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp: binding.gyp not found (cwd: C:\Users\Антон\Desktop\Unic\6 сем\IT\Новая папка) 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. (C:\Users\Антон\AppData\Roaming\npm\node_modules\node-gyp\lib\configure.js:317:18)
gyp ERR! stack at ChildProcess.emit (node:events:518:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
gyp ERR! System Windows_NT 10.0.19045
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Антон\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--verbose"
gyp ERR! cwd C:\Users\Антон\Desktop\Unic\6 сем\IT\Новая папка
gyp ERR! node -v v22.14.0
gyp ERR! node-gyp -v v11.1.0
gyp ERR! not ok

@shmishra99 shmishra99 self-assigned this Feb 25, 2025
@shmishra99 shmishra99 added the type:support user support questions label Feb 25, 2025
@shmishra99
Copy link
Contributor

Hi @MrvZzZzZ ,

This error indicates that node-gyp failed to configure your project, which is likely due to an incorrect or missing configuration.

You can use the following command to install all the required libraries: npm install --global --production windows-build-tools. Currently, node-gyp doesn't support Python 3.x.x; you need to install version 2.7.x and set the path using: node-gyp --python /path/to/python2.7.

Now, go to the root of your project and run: node-gyp configure.

Let me know if it helps. Thank You!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants