windows 11
D:\work\NN-project\nn-client-all>node --version
v16.16.0
D:\work\NN-project\nn-client-all>pnpm --version
8.6.10
D:\work\NN-project\nn-client-all>npm --version
npm WARN config global --global, --local are deprecated. Use --location=global instead.
8.11.0
D:\work\NN-project\nn-client-all>node-gyp --version
v9.4.0
D:\work\NN-project\nn-client-all>npm list -g --depth 0
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN config global --global, --local are deprecated. Use --location=global instead.
D:\software\nodejs -> .
├── corepack@0.10.0
├── node-addon-api@7.0.0
├── node-gyp@9.4.0
├── npm@8.11.0
├── pnpm@8.6.10
└── windows-build-tools@
my logs
D:\work\NN-project\nn-client-all>pnpm i
Scope: all 8 workspace projects
Lockfile is up to date, resolution step is skipped
Packages: +1622
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Packages are hard linked from the content-addressable store to the virtual store.
Content-addressable store is at: D:.pnpm-store\v3
Virtual store is at: node_modules/.pnpm
node_modules/ffi-napi: Running install script, failed in 2.4s
node_modules/ffi-napi install$ node-gyp-build
│ D:\work\NN-project\nn-client-all\node_modules\ffi-napi>if not defined npm_config_node_gyp (node "D:\software\nvm\v16.16.0\node_modules\pnpm\dist\node-gyp-bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "D:\software\nvm\v16.16.0\node_modules\pnpm\dist\node_module…
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@9.4.0
│ gyp info using node@16.16.0 | win32 | ia32
│ gyp info find Python using Python version 3.11.4 found at "C:\Users\zghby\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe"
│ gyp info find VS using VS2022 (17.7.33920.267) found at:
│ gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Preview"
│ gyp info find VS run with --verbose for detailed information
│ gyp info spawn C:\Users\zghby\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe
│ gyp info spawn args [
│ gyp info spawn args 'D:\software\nvm\v16.16.0\node_modules\pnpm\dist\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:\work\NN-project\nn-client-all\node_modules\ffi-napi\build\config.gypi',
│ gyp info spawn args '-I',
│ gyp info spawn args 'D:\software\nvm\v16.16.0\node_modules\pnpm\dist\node_modules\node-gyp\addon.gypi',
│ gyp info spawn args '-I',
│ gyp info spawn args 'C:\Users\zghby\AppData\Local\node-gyp\Cache\16.16.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\zghby\AppData\Local\node-gyp\Cache\16.16.0',
│ gyp info spawn args '-Dnode_gyp_dir=D:\software\nvm\v16.16.0\node_modules\pnpm\dist\node_modules\node-gyp',
│ gyp info spawn args '-Dnode_lib_file=C:\\Users\\zghby\\AppData\\Local\\node-gyp\\Cache\\16.16.0\\<(target_arch)\\node.lib',
│ gyp info spawn args '-Dmodule_root_dir=D:\work\NN-project\nn-client-all\node_modules\ffi-napi',
│ 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:\work\NN-project\nn-client-all\node_modules\ffi-napi\build',
│ gyp info spawn args '-Goutput_dir=.'
│ gyp info spawn args ]
│ gyp: Active code page: 65001
│ ..\node-addon-api\node_api.gyp not found (cwd: D:\work\NN-project\nn-client-all\node_modules\ffi-napi) while loading dependencies of binding.gyp 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 (D:\software\nvm\v16.16.0\node_modules\pnpm\dist\node_modules\node-gyp\lib\configure.js:325:16)
│ gyp ERR! stack at ChildProcess.emit (node:events:527:28)
│ gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
│ gyp ERR! System Windows_NT 10.0.22000
│ gyp ERR! command "D:\software\nodejs\node.exe" "D:\software\nvm\v16.16.0\node_modules\pnpm\dist\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
│ gyp ERR! cwd D:\work\NN-project\nn-client-all\node_modules\ffi-napi
│ gyp ERR! node -v v16.16.0
│ gyp ERR! node-gyp -v v9.4.0
│ gyp ERR! not ok
└─ Failed in 2.4s at D:\work\NN-project\nn-client-all\node_modules\ffi-napi
Progress: resolved 0, reused 1445, downloaded 0, added 1622, done
ELIFECYCLE Command failed with exit code 1.
windows 11
D:\work\NN-project\nn-client-all>node --version
v16.16.0
D:\work\NN-project\nn-client-all>pnpm --version
8.6.10
D:\work\NN-project\nn-client-all>npm --version
npm WARN config global
--global,--localare deprecated. Use--location=globalinstead.8.11.0
D:\work\NN-project\nn-client-all>node-gyp --version
v9.4.0
D:\work\NN-project\nn-client-all>npm list -g --depth 0
npm WARN config global
--global,--localare deprecated. Use--location=globalinstead.npm WARN config global
--global,--localare deprecated. Use--location=globalinstead.D:\software\nodejs -> .
├── corepack@0.10.0
├── node-addon-api@7.0.0
├── node-gyp@9.4.0
├── npm@8.11.0
├── pnpm@8.6.10
└── windows-build-tools@
my logs
D:\work\NN-project\nn-client-all>pnpm i
Scope: all 8 workspace projects
Lockfile is up to date, resolution step is skipped
Packages: +1622
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Packages are hard linked from the content-addressable store to the virtual store.
Content-addressable store is at: D:.pnpm-store\v3
Virtual store is at: node_modules/.pnpm
node_modules/ffi-napi: Running install script, failed in 2.4s
node_modules/ffi-napi install$ node-gyp-build
│ D:\work\NN-project\nn-client-all\node_modules\ffi-napi>if not defined npm_config_node_gyp (node "D:\software\nvm\v16.16.0\node_modules\pnpm\dist\node-gyp-bin\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "D:\software\nvm\v16.16.0\node_modules\pnpm\dist\node_module…
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@9.4.0
│ gyp info using node@16.16.0 | win32 | ia32
│ gyp info find Python using Python version 3.11.4 found at "C:\Users\zghby\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe"
│ gyp info find VS using VS2022 (17.7.33920.267) found at:
│ gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Preview"
│ gyp info find VS run with --verbose for detailed information
│ gyp info spawn C:\Users\zghby\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\python.exe
│ gyp info spawn args [
│ gyp info spawn args 'D:\software\nvm\v16.16.0\node_modules\pnpm\dist\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:\work\NN-project\nn-client-all\node_modules\ffi-napi\build\config.gypi',
│ gyp info spawn args '-I',
│ gyp info spawn args 'D:\software\nvm\v16.16.0\node_modules\pnpm\dist\node_modules\node-gyp\addon.gypi',
│ gyp info spawn args '-I',
│ gyp info spawn args 'C:\Users\zghby\AppData\Local\node-gyp\Cache\16.16.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\zghby\AppData\Local\node-gyp\Cache\16.16.0',
│ gyp info spawn args '-Dnode_gyp_dir=D:\software\nvm\v16.16.0\node_modules\pnpm\dist\node_modules\node-gyp',
│ gyp info spawn args '-Dnode_lib_file=C:\\Users\\zghby\\AppData\\Local\\node-gyp\\Cache\\16.16.0\\<(target_arch)\\node.lib',
│ gyp info spawn args '-Dmodule_root_dir=D:\work\NN-project\nn-client-all\node_modules\ffi-napi',
│ 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:\work\NN-project\nn-client-all\node_modules\ffi-napi\build',
│ gyp info spawn args '-Goutput_dir=.'
│ gyp info spawn args ]
│ gyp: Active code page: 65001
│ ..\node-addon-api\node_api.gyp not found (cwd: D:\work\NN-project\nn-client-all\node_modules\ffi-napi) while loading dependencies of binding.gyp while trying to load binding.gyp
│ gyp ERR! configure error
│ gyp ERR! stack Error:
gypfailed with exit code: 1│ gyp ERR! stack at ChildProcess.onCpExit (D:\software\nvm\v16.16.0\node_modules\pnpm\dist\node_modules\node-gyp\lib\configure.js:325:16)
│ gyp ERR! stack at ChildProcess.emit (node:events:527:28)
│ gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
│ gyp ERR! System Windows_NT 10.0.22000
│ gyp ERR! command "D:\software\nodejs\node.exe" "D:\software\nvm\v16.16.0\node_modules\pnpm\dist\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
│ gyp ERR! cwd D:\work\NN-project\nn-client-all\node_modules\ffi-napi
│ gyp ERR! node -v v16.16.0
│ gyp ERR! node-gyp -v v9.4.0
│ gyp ERR! not ok
└─ Failed in 2.4s at D:\work\NN-project\nn-client-all\node_modules\ffi-napi
Progress: resolved 0, reused 1445, downloaded 0, added 1622, done
ELIFECYCLE Command failed with exit code 1.