node-gyp error with building @vscode/sqlite3: gyp: binding.gyp not found
See original GitHub issuePlease look thru your error log for the string gyp info using node-gyp@
and if the version number is less than the current release of node-gyp then please upgrade using the instructions at https://github.com/nodejs/node-gyp/blob/master/docs/Updating-npm-bundled-node-gyp.md and try your command again.
Requests for help with node-sass
are very common. Please be aware that this package is deprecated, you should seek alternatives and avoid opening new issues about it here.
- Node Version: v16.17.0
- npm:8.19.1
- Platform:Microsoft Windows 11 10.0.22000 Build 22000 x64-based PC
- Compiler: MSBuild version 17.3.1+2badb37d1
- Module:@vscode/sqlite3
Verbose output (from npm or node-gyp):
PS D:\Repos\testsql> yarn --verbose
yarn install v1.22.19
verbose 0.2053929 Checking for configuration file "D:\\Repos\\testsql\\.npmrc".
verbose 0.2066641 Checking for configuration file "C:\\Users\\SmartOne\\.npmrc".
verbose 0.207758 Found configuration file "C:\\Users\\SmartOne\\.npmrc".
verbose 0.2090131 Checking for configuration file "D:\\Program\\nodejs\\etc\\npmrc".
verbose 0.209608 Checking for configuration file "D:\\Repos\\testsql\\.npmrc".
verbose 0.2102986 Checking for configuration file "D:\\Repos\\.npmrc".
verbose 0.2121822 Checking for configuration file "D:\\Repos\\testsql\\.yarnrc".
verbose 0.2126269 Checking for configuration file "C:\\Users\\SmartOne\\.yarnrc".
verbose 0.2131397 Found configuration file "C:\\Users\\SmartOne\\.yarnrc".
verbose 0.2138121 Checking for configuration file "D:\\Program\\nodejs\\etc\\yarnrc".
verbose 0.2142654 Checking for configuration file "D:\\Repos\\testsql\\.yarnrc".
verbose 0.2146782 Checking for configuration file "D:\\Repos\\.yarnrc".
verbose 0.2180578 current time: 2022-09-13T07:21:59.393Z
info No lockfile found.
[1/4] Resolving packages...
verbose 0.2501063 Performing "GET" request to "https://registry.npm.taobao.org/@vscode%2fsqlite3".
verbose 0.4714059 Request "https://registry.npm.taobao.org/@vscode%2fsqlite3" finished with status code 200.
verbose 0.4747995 Performing "GET" request to "https://registry.npm.taobao.org/node-addon-api".
verbose 0.535583 Request "https://registry.npm.taobao.org/node-addon-api" finished with status code 200.
[2/4] Fetching packages...
[3/4] Linking dependencies...
verbose 0.566633 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\common.gypi" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\common.gypi" is the same size (762) and mtime (1663041895915).
verbose 0.5673303 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\LICENSE.md" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\LICENSE.md" is the same size (1245) and mtime (1663041895915).
verbose 0.5678795 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\napi-inl.h" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\napi-inl.h" is the same size (204456) and mtime (1663041895915).
verbose 0.5683537 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\except.gypi" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\except.gypi" is the same size (560) and mtime (1663041895915).
verbose 0.5688281 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\index.js" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\index.js" is the same size (296) and mtime (1663041895915).
verbose 0.5690433 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\napi.h" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\napi.h" is the same size (121041) and mtime (1663041895915).
verbose 0.5695046 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\node_api.gyp" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\node_api.gyp" is the same size (132) and mtime (1663041895915).
verbose 0.5697438 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\nothing.c" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\nothing.c" is the same size (0) and mtime (1663041895915).
verbose 0.5700687 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\napi-inl.deprecated.h" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\napi-inl.deprecated.h" is the same size (7251) and mtime (1663041895915).
verbose 0.5706853 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\noexcept.gypi" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\noexcept.gypi" is the same size (639) and mtime (1663041895915).
verbose 0.571221 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\package.json" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\package.json" is the same size (8972) and mtime (1663041895915).
verbose 0.5719216 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\README.md" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\README.md" is the same size (12881) and mtime (1663041895915).
verbose 0.5732171 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\package-support.json" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\package-support.json" is the same size (467) and mtime (1663041895915).
verbose 0.5738284 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\.dockerignore" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\.dockerignore" is the same size (306) and mtime (1663041894878).
verbose 0.5744622 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\binding.gyp" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\binding.gyp" is the same size (2317) and mtime (1663041894878).
verbose 0.5751581 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\.yarnrc" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\.yarnrc" is the same size (75) and mtime (1663041894878).
verbose 0.5760023 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\CHANGELOG.md" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\CHANGELOG.md" is the same size (11024) and mtime (1663041894878).
verbose 0.5767349 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\Dockerfile" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\Dockerfile" is the same size (2627) and mtime (1663041894878).
verbose 0.5772583 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\CONTRIBUTING.md" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\CONTRIBUTING.md" is the same size (2814) and mtime (1663041894878).
verbose 0.5777555 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\index.d.ts" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\index.d.ts" is the same size (4968) and mtime (1663041894878).
verbose 0.578383 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\README.md" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\README.md" is the same size (10565) and mtime (1663041894878).
verbose 0.5790112 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\LICENSE" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\LICENSE" is the same size (1460) and mtime (1663041894878).
verbose 0.5797566 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\SECURITY.md" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\SECURITY.md" is the same size (2780) and mtime (1663041894878).
verbose 0.5808464 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\package.json" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\package.json" is the same size (1907) and mtime (1663041894878).
verbose 0.5816898 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\sqlite3.js" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\sqlite3.js" is the same size (43) and mtime (1663041894878).
verbose 0.5839882 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\tools\\clang-format.js" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\tools\\clang-format.js" is the same size (1892) and mtime (1663041895915).
verbose 0.5845915 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\tools\\check-napi.js" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\tools\\check-napi.js" is the same size (3210) and mtime (1663041895915).
verbose 0.5854646 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\tools\\eslint-format.js" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\tools\\eslint-format.js" is the same size (1746) and mtime (1663041895915).
verbose 0.5863373 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\deps\\common-sqlite.gypi" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\deps\\common-sqlite.gypi" is the same size (1322) and mtime (1663041894878).
verbose 0.5872072 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\tools\\conversion.js" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\tools\\conversion.js" is the same size (15275) and mtime (1663041895915).
verbose 0.5877323 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\deps\\extract.py" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\deps\\extract.py" is the same size (191) and mtime (1663041894878).
verbose 0.588231 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\deps\\sqlite-autoconf-3360000.tar.gz" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\deps\\sqlite-autoconf-3360000.tar.gz" is the same size (2977080) and mtime (1663041894878).
verbose 0.5887424 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\deps\\sqlite3.gyp" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\deps\\sqlite3.gyp" is the same size (3287) and mtime (1663041894878).
verbose 0.5891093 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-node-addon-api-4.3.0-52a1a0b475193e0928e98e0426a0d1254782b77f-integrity\\node_modules\\node-addon-api\\tools\\README.md" as the file at "D:\\Repos\\testsql\\node_modules\\node-addon-api\\tools\\README.md" is the same size (3217) and mtime (1663041895915).
verbose 0.5894238 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\lib\\index.js" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\lib\\index.js" is the same size (39) and mtime (1663041894878).
verbose 0.5897746 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\lib\\sqlite3-binding.js" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\lib\\sqlite3-binding.js" is the same size (263) and mtime (1663041894878).
verbose 0.5901787 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\lib\\sqlite3.js" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\lib\\sqlite3.js" is the same size (6309) and mtime (1663041894878).
verbose 0.5906048 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\src\\async.h" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\src\\async.h" is the same size (2037) and mtime (1663041894878).
verbose 0.5911596 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\lib\\trace.js" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\lib\\trace.js" is the same size (1346) and mtime (1663041894878).
verbose 0.5919651 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\src\\backup.cc" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\src\\backup.cc" is the same size (13613) and mtime (1663041894878).
verbose 0.5924589 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\src\\backup.h" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\src\\backup.h" is the same size (7058) and mtime (1663041894878).
verbose 0.5928967 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\src\\database.cc" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\src\\database.cc" is the same size (22253) and mtime (1663041894878).
verbose 0.5932751 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\src\\database.h" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\src\\database.h" is the same size (5781) and mtime (1663041894878).
verbose 0.5937878 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\src\\gcc-preinclude.h" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\src\\gcc-preinclude.h" is the same size (249) and mtime (1663041894878).
verbose 0.5945502 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\src\\macros.h" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\src\\macros.h" is the same size (12006) and mtime (1663041894878).
verbose 0.5953014 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\src\\node_sqlite3.cc" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\src\\node_sqlite3.cc" is the same size (10398) and mtime (1663041894878).
verbose 0.5957564 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\src\\statement.h" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\src\\statement.h" is the same size (6644) and mtime (1663041894878).
verbose 0.5961533 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\src\\statement.cc" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\src\\statement.cc" is the same size (29587) and mtime (1663041894878).
verbose 0.5967337 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\src\\threading.h" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\src\\threading.h" is the same size (1153) and mtime (1663041894878).
verbose 0.5977549 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\.github\\workflows\\node.js.yml" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\.github\\workflows\\node.js.yml" is the same size (774) and mtime (1663041894878).
verbose 0.5991727 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\tools\\docker\\architecture\\linux-arm\\Dockerfile" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\tools\\docker\\architecture\\linux-arm\\Dockerfile" is the same size (2494) and mtime (1663041894878).
verbose 0.5997983 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\tools\\docker\\architecture\\linux-arm64\\Dockerfile" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\tools\\docker\\architecture\\linux-arm64\\Dockerfile" is the same size (2531) and mtime (1663041894878).
verbose 0.6003752 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\tools\\docker\\architecture\\linux-arm\\run.sh" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\tools\\docker\\architecture\\linux-arm\\run.sh" is the same size (1955) and mtime (1663041894878).
verbose 0.6010042 Skipping copying of file "C:\\Users\\SmartOne\\AppData\\Local\\Yarn\\Cache\\v6\\npm-@vscode-sqlite3-5.0.8-72b07061c5f90a9dd598a5506f598fcc817fab90-integrity\\node_modules\\@vscode\\sqlite3\\tools\\docker\\architecture\\linux-arm64\\run.sh" as the file at "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\tools\\docker\\architecture\\linux-arm64\\run.sh" is the same size (1982) and mtime (1663041894878).
verbose 0.6020488 Removing extraneous file "D:\\Repos\\testsql\\node_modules\\@vscode\\node-addon-api".
verbose 0.6117789 Removing extraneous file "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\build".
verbose 0.6173297 Removing extraneous file "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\build\\binding.sln".
verbose 0.6178549 Removing extraneous file "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\build\\config.gypi".
verbose 0.6181889 Removing extraneous file "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\build\\deps".
verbose 0.61856 Removing extraneous file "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\build\\Release".
verbose 0.6188301 Removing extraneous file "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\build\\vscode-sqlite3.vcxproj".
verbose 0.6192259 Removing extraneous file "D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\build\\vscode-sqlite3.vcxproj.filters".
[4/4] Building fresh packages...
verbose 2.5464598 Error: D:\Repos\testsql\node_modules\@vscode\sqlite3: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: D:\Repos\testsql\node_modules\@vscode\sqlite3
Output:
D:\Repos\testsql\node_modules\@vscode\sqlite3>if not defined npm_config_node_gyp (node "D:\Program\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
gyp info it worked if it ends with ok
gyp info using node-gyp@9.0.0
gyp info using node@16.17.0 | win32 | x64
gyp info find Python using Python version 3.10.6 found at "D:\Program Files\Python310\python.exe"
gyp info find VS using VS2022 (17.3.32825.248) found at:
gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
gyp info find VS run with --verbose for detailed information
gyp info spawn D:\Program Files\Python310\python.exe
gyp info spawn args [
gyp info spawn args 'D:\\Program\\nodejs\\node_modules\\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 'D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'D:\\Program\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\SmartOne\\AppData\\Local\\node-gyp\\Cache\\16.17.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\\SmartOne\\AppData\\Local\\node-gyp\\Cache\\16.17.0',
gyp info spawn args '-Dnode_gyp_dir=D:\\Program\\nodejs\\node_modules\\npm\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\SmartOne\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\16.17.0\\\\<(target_arch)\\\\node.lib',
gyp info spawn args '-Dmodule_root_dir=D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3',
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:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args 'build/binding.sln',
gyp info spawn args '/clp:Verbosity=minimal',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64'
gyp info spawn args ]
�ڴ˽��������һ������һ����Ŀ����Ҫ���ò������ɣ������ӡ�-m�����ء�
nothing.c
win_delay_load_hook.cc
nothing.vcxproj -> D:\Repos\testsql\node_modules\@vscode\sqlite3\build\Release\\nothing.lib
unpack_sqlite_dep
'D:\Program' �����ڲ����ⲿ���Ҳ���ǿ����еij���
�����������
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): error MSB8066: ��..\..\deps\sqlite-autoconf-3360000.tar.gz�����Զ����������˳�������Ϊ 1�� [D:\Repos\testsql\node_modules\@vscode\sqlite3\build\deps\action_before_build.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (D:\Program\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
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.22000
gyp ERR! command "D:\\Program\\nodejs\\node.exe" "D:\\Program\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Repos\testsql\node_modules\@vscode\sqlite3
gyp ERR! node -v v16.17.0
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok
at ProcessTermError.ExtendableBuiltin (C:\Users\SmartOne\.node\corepack\yarn\1.22.19\lib\cli.js:721:66)
at ProcessTermError.MessageError (C:\Users\SmartOne\.node\corepack\yarn\1.22.19\lib\cli.js:750:123)
at new ProcessTermError (C:\Users\SmartOne\.node\corepack\yarn\1.22.19\lib\cli.js:790:113)
at ChildProcess.<anonymous> (C:\Users\SmartOne\.node\corepack\yarn\1.22.19\lib\cli.js:25787:17)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1093:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
error D:\Repos\testsql\node_modules\@vscode\sqlite3: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: D:\Repos\testsql\node_modules\@vscode\sqlite3
Output:
D:\Repos\testsql\node_modules\@vscode\sqlite3>if not defined npm_config_node_gyp (node "D:\Program\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
gyp info it worked if it ends with ok
gyp info using node-gyp@9.0.0
gyp info using node@16.17.0 | win32 | x64
gyp info find Python using Python version 3.10.6 found at "D:\Program Files\Python310\python.exe"
gyp info find VS using VS2022 (17.3.32825.248) found at:
gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
gyp info find VS run with --verbose for detailed information
gyp info spawn D:\Program Files\Python310\python.exe
gyp info spawn args [
gyp info spawn args 'D:\\Program\\nodejs\\node_modules\\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 'D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\build\\config.gypi',
gyp info spawn args '-I',
gyp info spawn args 'D:\\Program\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args '-I',
gyp info spawn args 'C:\\Users\\SmartOne\\AppData\\Local\\node-gyp\\Cache\\16.17.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\\SmartOne\\AppData\\Local\\node-gyp\\Cache\\16.17.0',
gyp info spawn args '-Dnode_gyp_dir=D:\\Program\\nodejs\\node_modules\\npm\\node_modules\\node-gyp',
gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\SmartOne\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\16.17.0\\\\<(target_arch)\\\\node.lib',
gyp info spawn args '-Dmodule_root_dir=D:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3',
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:\\Repos\\testsql\\node_modules\\@vscode\\sqlite3\\build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args 'build/binding.sln',
gyp info spawn args '/clp:Verbosity=minimal',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64'
gyp info spawn args ]
�ڴ˽��������һ������һ����Ŀ����Ҫ���ò������ɣ������ӡ�-m�����ء�
nothing.c
win_delay_load_hook.cc
nothing.vcxproj -> D:\Repos\testsql\node_modules\@vscode\sqlite3\build\Release\\nothing.lib
unpack_sqlite_dep
'D:\Program' �����ڲ����ⲿ���Ҳ���ǿ����еij���
�����������
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(247,5): error MSB8066: ��..\..\deps\sqlite-autoconf-3360000.tar.gz�����Զ����������˳�������Ϊ 1�� [D:\Repos\testsql\node_modules\@vscode\sqlite3\build\deps\action_before_build.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (D:\Program\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
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.22000
gyp ERR! command "D:\\Program\\nodejs\\node.exe" "D:\\Program\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Repos\testsql\node_modules\@vscode\sqlite3
gyp ERR! node -v v16.17.0
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
PS D:\Repos\testsql>
Hi, I had been seeing this bug for week when I building the vscode using the VS2022. Now I found that maybe node-gyp doesn’t support 2022, I found this info in file find-visualstudio.js
, line 269 it wote:
// Helper - process MSBuild information
getMSBuild: function getMSBuild (info, versionYear) {
const pkg = 'Microsoft.VisualStudio.VC.MSBuild.Base'
const msbuildPath = path.join(info.path, 'MSBuild', 'Current', 'Bin', 'MSBuild.exe')
if (info.packages.indexOf(pkg) !== -1) {
this.log.silly('- found VC.MSBuild.Base')
if (versionYear === 2017) {
return path.join(info.path, 'MSBuild', '15.0', 'Bin', 'MSBuild.exe')
}
if (versionYear === 2019) {
return msbuildPath
}
}
// visual studio 2022 don't has msbuild pkg
if (fs.existsSync(msbuildPath)) {
return msbuildPath
}
return null
},
So, I maybe cause by this problem?
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Getting yarn install gyp error with @vscode/sqlite3
I was able to run yarn install from this project before, but after an update I am having this issue. I have tried:...
Read more >build VSCode got stuck in node-gyp · Issue #160864 - GitHub
I am create issue in other repo to help find out what's wrong, but still got no answer, hope someone can help me...
Read more >sqlite3 - npm
Asynchronous, non-blocking SQLite3 bindings. ... The module uses node-pre-gyp to download the prebuilt binary for your platform, ...
Read more >A Comprehensive Guide to Fixing Node-Gyp Issues on Windows
1. Try running npm install with the --no-optional flag. · 2. Try downloading the windows-build-tools package. · 3. Download the Visual Studio 2015 ......
Read more >NPM is throwing a bunch of errors when I try to install SQLite3
Whenever I run npm install --save sqlite3@^4.0.9 in my integrated terminal in Visual Studio Code, NPM throws these errors:
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@cclauss Hi Christian, the turely error have been found in here: https://github.com/microsoft/vscode-node-sqlite3/pull/24, I will working on it and fix it, thanks for your patience and answer.
I remove all the node_gyp folder, and re-install nodejs, try anything command, the problem still, is it any way to find out what’s wrong with my env? Here is recently of my repo:
Still, gyp: binding.gyp not found (cwd: D:\Repos\testsqlite3) while trying to load binding.gyp