Support Node 26
NodeJS 26, npm install -g mcp-chrome-bridge 报错,没有预编译的 better-sqlite3 :
PS D:> npm install -g mcp-chrome-bridge
npm warn Unknown env config "disturl". This will stop working in the next major version of npm. See npm help npmrc for supported config options.
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup '\\?\D:\Environment\NodeJS\node_cache\node_modules',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'D:\Environment\NodeJS\node_cache\node_modules\mcp-chrome-bridge\node_modules\drizzle-orm\pg-core'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'D:\Environment\NodeJS\node_cache\node_modules\mcp-chrome-bridge\node_modules\drizzle-orm\pg-core'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup '\\?\D:\Environment\NodeJS\node_cache\node_modules\mcp-chrome-bridge\node_modules',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'D:\Environment\NodeJS\node_cache\node_modules\mcp-chrome-bridge\node_modules\chrome-devtools-frontend\front_end\third_party\codemirror\package\mode'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'D:\Environment\NodeJS\node_cache\node_modules\mcp-chrome-bridge\node_modules\chrome-devtools-frontend\front_end\third_party\codemirror\package\mode'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path D:\Environment\NodeJS\node_cache\node_modules\mcp-chrome-bridge\node_modules\better-sqlite3
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c prebuild-install || node-gyp rebuild --release
npm error prebuild-install warn install read ECONNRESET
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | win32 | x64
npm error gyp ERR! configure error
npm error gyp ERR! stack TypeError: Invalid URL
npm error gyp ERR! stack at new URL (node:internal/url:899:25)
npm error gyp ERR! stack at processRelease (D:\Environment\NodeJS\node_modules\npm\node_modules\node-gyp\lib\process-release.js:74:17)
npm error gyp ERR! stack at configure (D:\Environment\NodeJS\node_modules\npm\node_modules\node-gyp\lib\configure.js:25:19)
npm error gyp ERR! stack at acc. [as configure] (D:\Environment\NodeJS\node_modules\npm\node_modules\node-gyp\lib\node-gyp.js:80:55)
npm error gyp ERR! stack at run (D:\Environment\NodeJS\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js:81:51)
npm error gyp ERR! stack at run (D:\Environment\NodeJS\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js:94:12)
npm error gyp ERR! System Windows_NT 10.0.26220
npm error gyp ERR! command "D:\Environment\NodeJS\node.exe" "D:\Environment\NodeJS\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--release"
npm error gyp ERR! cwd D:\Environment\NodeJS\node_cache\node_modules\mcp-chrome-bridge\node_modules\better-sqlite3
npm error gyp ERR! node -v v26.8.1
npm error gyp ERR! node-gyp -v v12.4.0
npm error gyp ERR! $npm_package_name better-sqlite3
npm error gyp ERR! $npm_package_version 11.10.0
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: C:\Users\Pray\AppData\Local\npm-cache_logs\2026-09-05T13_10_49_337Z-debug-0.log
Source: hangwin/mcp-chrome