🐛 fix startup error

This commit is contained in:
Flam3rboy 2021-02-16 15:04:55 +01:00
parent b70adcedba
commit c5bb9a6006
3 changed files with 2 additions and 1 deletions

BIN
package-lock.json generated

Binary file not shown.

View File

@ -32,7 +32,7 @@
"jsonwebtoken": "^8.5.1",
"lambert-db": "^1.1.8",
"lambert-server": "^1.0.10",
"missing-native-js-functions": "^1.2.2",
"missing-native-js-functions": "^1.2.4",
"mongodb": "^3.6.4",
"mongoose-long": "^0.3.2",
"node-fetch": "^2.6.1"

View File

@ -1,6 +1,7 @@
process.on("uncaughtException", console.error);
process.on("unhandledRejection", console.error);
import "missing-native-js-functions";
import { config } from "dotenv";
config();
import { DiscordServer } from "./Server";