You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Prisma language server crashes while typing when you type out the model header and then add the braces.
How to reproduce
Create a Prisma schema, or open an existing one.
Type out the model header and the braces e.g. model User {
It doesn't happen every single time, but it has been fairly consistent, and once it starts, it will crash every single time I type a new model.
See the recording and stack trace below.
Screen.Recording.2026-09-22.at.11.25.54.mov
Error: Range#create called with invalid arguments[[object Object], [object Object], undefined, undefined]
at Object.ve [as create] (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/language-server/bin.js:30:23129)
at hD (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/language-server/bin.js:45:2008)
at hD.next (<anonymous>)
at bCe (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/language-server/bin.js:48:4263)
at xlt (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/language-server/bin.js:711:238)
at o (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/language-server/bin.js:711:4271)
at async /Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/language-server/bin.js:711:4385
Node.js v24.18.1
[Info - 11:26:01] Connection to server got closed. Server will restart.
[Error - 11:26:01] Request textDocument/codeAction failed.
Error: Connection got disposed.
at Object.dispose (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/extension.js:35:4301)
at Object.dispose (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/extension.js:40:9626)
at PS.handleConnectionClosed (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/extension.js:42:9096)
at PS.handleConnectionClosed (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/extension.js:45:12159)
at n (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/extension.js:42:8777)
at sE.invoke (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/extension.js:8:9642)
at e.fire (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/extension.js:8:10407)
at hi (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/extension.js:9:10924)
at sE.invoke (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/extension.js:8:9642)
at e.fire (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/extension.js:8:10407)
at ME.fireClose (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/extension.js:8:12681)
at ChildProcess.<anonymous> (/Users/leo/.vscode/extensions/prisma.prisma-31.12.10/dist/extension.js:35:12230)
at ChildProcess.emit (node:events:521:24)
at maybeClose (node:internal/child_process:1124:16)
at Socket.<anonymous> (node:internal/child_process:481:11)
at Socket.emit (node:events:509:28)
at Pipe.<anonymous> (node:net:351:12)
Expected behavior
The language server should recognize the syntax. At worst, it should highlight that the model is empty, but still continue working.
Prisma information
Prisma 7.10.0
Environment & setup
OS: MacOS (also occured on Windows 11).
Editor: VS Code
Editor Version: 1.138.0 (Universal)
Extension version: 31.12.10
Bug description
The Prisma language server crashes while typing when you type out the model header and then add the braces.
How to reproduce
model User {It doesn't happen every single time, but it has been fairly consistent, and once it starts, it will crash every single time I type a new model.
See the recording and stack trace below.
Screen.Recording.2026-09-22.at.11.25.54.mov
Expected behavior
The language server should recognize the syntax. At worst, it should highlight that the model is empty, but still continue working.
Prisma information
Prisma 7.10.0
Environment & setup
OS: MacOS (also occured on Windows 11).
Editor: VS Code
Editor Version: 1.138.0 (Universal)
Extension version: 31.12.10