D
D
Dmitry Kuznetsov2022-03-29 16:25:55
Node.js
Dmitry Kuznetsov, 2022-03-29 16:25:55

Console crashes due to Prisma ORM, what happened?

Good day.

There is a blank game mod (Alt: V), where I include the Prisma ORM package. But as soon as the application starts loading the file in which this package is imported, the console crashes, and it does not display any errors, only a dump is created.

User Mini Dump File with Full Memory: Only application data is available

Symbol search path is: srv*
Executable search path is:
Windows 10 Version 19044 MP (12 procs) Free x64
Product: WinNt, suite: SingleUserTS Personal
Edition build lab: 19041.1. amd64fre.vb_release.191206-1406
Machine Name:
Debug session time: Tue Mar 29 16:24:03.000 2022 (UTC+3:00)
System Uptime: 15 days 8:25:12.187
Process Uptime: 0 days 0:00:01.000
................................................. .This
dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(30e8.3024): Unknown exception - code c06d007f (first/second chance not available)
For analysis of this file, run !analyze -v
ntdll!NtGetContextThread+0x14:
00007fff`cd10eba4 c3 ret


The error is precisely because of these lines (no more code):
import { PrismaClient } from '@prisma/client';
const prisma = new PrismaClient();


Here is my TS config:
{
  "compilerOptions": {
    "sourceMap": true,
    "outDir": "dist",
    "strict": true,
    "lib": ["esnext"],
    "esModuleInterop": true
  }
}


Please tell me what is the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question