-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
windows error #7266
Comments
Hi, @karpenko-eugene Apologize for the delayed response and I tried to replicate the same issue from my end and I'm also getting similar issue on CC: @mattsoulanille Here is error log :
|
Hi, @karpenko-eugene Apologize for the delayed response and Could you please give it try with I believe you're following this official documentation for Please refer this similar issue #7341 and if you face same issue with |
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you. |
This issue was closed due to lack of activity after being marked stale for past 7 days. |
$ 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:\Program Files\nodejs\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 command configure []
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 "python3" can be used
gyp verb find Python - executing "python3" to get executable path
gyp verb find Python - "python3" is not in PATH or produced an error
gyp verb find Python checking if "python" can be used
gyp verb find Python - executing "python" to get executable path
gyp verb find Python - executable path is "C:\Users\Admin\AppData\Local\Programs\Python\Python311\python.exe"
gyp verb find Python - executing "C:\Users\Admin\AppData\Local\Programs\Python\Python311\python.exe" to get version
gyp verb find Python - version is "3.11.0"
gyp info find Python using Python version 3.11.0 found at "C:\Users\Admin\AppData\Local\Programs\Python\Python311\python.exe"
gyp verb get node dir no --target version specified, falling back to host node version: 16.17.1
gyp verb command install [ '16.17.1' ]
gyp verb install input version string "16.17.1"
gyp verb install installing version: 16.17.1
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" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 16.17.1
gyp verb build dir attempting to create "build" dir: D:\www\tfjs-master\tfjs-node\build
gyp verb build dir "build" dir needed to be created? No
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 checking VS2022 (17.4.33213.308) 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 - found VC++ toolset: v143
gyp verb find VS - found Windows SDK: 10.0.22000.0
gyp info find VS using VS2022 (17.4.33213.308) found at:
gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
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: D:\www\tfjs-master\tfjs-node\build\config.gypi
gyp verb config.gypi checking for gypi file: D:\www\tfjs-master\tfjs-node\config.gypi
gyp verb common.gypi checking for gypi file: D:\www\tfjs-master\tfjs-node\common.gypi
gyp verb gyp gyp format was not specified; forcing "msvs"
gyp info spawn C:\Users\Admin\AppData\Local\Programs\Python\Python311\python.exe
gyp info spawn args [
gyp info spawn args 'C:\Users\Admin\AppData\Roaming\nvm\v16.17.1\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 'D:\www\tfjs-master\tfjs-node\build\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Admin\AppData\Roaming\nvm\v16.17.1\node_modules\node-gyp\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\Users\Admin\AppData\Local\node-gyp\Cache\16.17.1\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\Admin\AppData\Local\node-gyp\Cache\16.17.1',
gyp info spawn args '-Dnode_gyp_dir=C:\Users\Admin\AppData\Roaming\nvm\v16.17.1\node_modules\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\Users\\Admin\\AppData\\Local\\node-gyp\\Cache\\16.17.1\\<(target_arch)\\node.lib',
gyp info spawn args '-Dmodule_root_dir=D:\www\tfjs-master\tfjs-node',
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 'D:\www\tfjs-master\tfjs-node\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp: Undefined variable module_name in binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error:
gyp
failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (C:\Users\Admin\AppData\Roaming\nvm\v16.17.1\node_modules\node-gyp\lib\configure.js:325:16)
gyp ERR! stack at ChildProcess.emit (node:events:513:28)
gyp ERR! stack at Process.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\node-gyp\bin\node-gyp.js" "configure" "--verbose"
gyp ERR! cwd D:\www\tfjs-master\tfjs-node
gyp ERR! node -v v16.17.1
gyp ERR! node-gyp -v v9.3.1
gyp ERR! not ok
The text was updated successfully, but these errors were encountered: