Azure-Samples / Azure-Samples/SQL-AI-samples

TypeError: Cannot read properties of undefined (reading 'prototype')

オープン
#84 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
HTML
スター
331
フォーク
208
PR マージ指標
30日以内にマージされた PR はありません

説明

Running the MCP server with Node >= v24.x results in the following error (this capture is with Node v25.2.0):

❯ node /Users/me/Repositories/Clones/Microsoft/SQL-AI-samples/MssqlMcp/Node/dist/index.js
/Users/me/Repositories/Clones/Microsoft/SQL-AI-samples/MssqlMcp/Node/node_modules/buffer-equal-constant-time/index.js:37
var origSlowBufEqual = SlowBuffer.prototype.equal;
^

TypeError: Cannot read properties of undefined (reading 'prototype')
at Object. (/Users/me/Repositories/Clones/Microsoft/SQL-AI-samples/MssqlMcp/Node/node_modules/buffer-equal-constant-time/index.js:37:35)
at Module._compile (node:internal/modules/cjs/loader:1760:14)
at Object..js (node:internal/modules/cjs/loader:1892:10)
at Module.load (node:internal/modules/cjs/loader:1480:32)
at Module._load (node:internal/modules/cjs/loader:1299:12)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.require (node:internal/modules/cjs/loader:1503:12)
at require (node:internal/modules/helpers:152:16)
at Object. (/Users/me/Repositories/Clones/Microsoft/SQL-AI-samples/MssqlMcp/Node/node_modules/jsonwebtoken/node_modules/jwa/index.js:1:19)

I do not get this error with Node v23.11.0. See https://github.com/microsoft/vscode-vsce/issues/1139 for reference.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。