Skip to content

Commit 6069fa7

Browse files
committed
Fixed some issues
1 parent 9091e9a commit 6069fa7

File tree

4 files changed

+3318
-7717
lines changed

4 files changed

+3318
-7717
lines changed

.replit

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
hidden = [".config"]
22
run = "npm run start"
33

4-
[env]
5-
DISCORD_TOKEN = "fillin"
6-
MONGO_TOKEN = "fillin"
7-
GIPHY_TOKEN = "fillin"
8-
WEBHOOK_ID = "fillin"
9-
WEBHOOK_TOKEN = "fillin"
10-
114
[[hints]]
125
regex = "Error \\[ERR_REQUIRE_ESM\\]"
136
message = "We see that you are using require(...) inside your code. We currently do not support this syntax. Please use 'import' instead when using external modules. (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)"

.replit.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{ pkgs }: {
2+
deps = [
3+
pkgs.nodejs-17_x
4+
pkgs.nodePackages.typescript-language-server
5+
pkgs.yarn
6+
pkgs.replitPackages.jest
7+
];
8+
}

0 commit comments

Comments
 (0)