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
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\rust\node_modules\translate\index.min.js from C:\rust\src\structures\RustPlus.js not supported.
Instead change the require of index.min.js in C:\rust\src\structures\RustPlus.js to a dynamic import() which is available in all CommonJS modules.
at require.extensions. [as .js] (C:\rust\node_modules\ts-node\dist\index.js:851:20)
at Object. (C:\rust\src\structures\RustPlus.js:24:19)
at m._compile (C:\rust\node_modules\ts-node\dist\index.js:857:29)
at require.extensions. [as .js] (C:\rust\node_modules\ts-node\dist\index.js:859:16)
at Object. (C:\rust\src\structures\DiscordBot.js:35:18)
at m._compile (C:\rust\node_modules\ts-node\dist\index.js:857:29)
at require.extensions. [as .js] (C:\rust\node_modules\ts-node\dist\index.js:859:16)
at Object. (C:\rust\index.ts:24:20)
at m._compile (C:\rust\node_modules\ts-node\dist\index.js:857:29)
at require.extensions. [as .ts] (C:\rust\node_modules\ts-node\dist\index.js:859:16)
at phase4 (C:\rust\node_modules\ts-node\dist\bin.js:466:20)
at bootstrap (C:\rust\node_modules\ts-node\dist\bin.js:54:12)
at main (C:\rust\node_modules\ts-node\dist\bin.js:33:12)
at Object. (C:\rust\node_modules\ts-node\dist\bin.js:579:5) {
code: 'ERR_REQUIRE_ESM'
}
I don't know what to do or what i did it worked one day and stopped the next.
The text was updated successfully, but these errors were encountered:
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\rust\node_modules\translate\index.min.js from C:\rust\src\structures\RustPlus.js not supported.
Instead change the require of index.min.js in C:\rust\src\structures\RustPlus.js to a dynamic import() which is available in all CommonJS modules.
at require.extensions. [as .js] (C:\rust\node_modules\ts-node\dist\index.js:851:20)
at Object. (C:\rust\src\structures\RustPlus.js:24:19)
at m._compile (C:\rust\node_modules\ts-node\dist\index.js:857:29)
at require.extensions. [as .js] (C:\rust\node_modules\ts-node\dist\index.js:859:16)
at Object. (C:\rust\src\structures\DiscordBot.js:35:18)
at m._compile (C:\rust\node_modules\ts-node\dist\index.js:857:29)
at require.extensions. [as .js] (C:\rust\node_modules\ts-node\dist\index.js:859:16)
at Object. (C:\rust\index.ts:24:20)
at m._compile (C:\rust\node_modules\ts-node\dist\index.js:857:29)
at require.extensions. [as .ts] (C:\rust\node_modules\ts-node\dist\index.js:859:16)
at phase4 (C:\rust\node_modules\ts-node\dist\bin.js:466:20)
at bootstrap (C:\rust\node_modules\ts-node\dist\bin.js:54:12)
at main (C:\rust\node_modules\ts-node\dist\bin.js:33:12)
at Object. (C:\rust\node_modules\ts-node\dist\bin.js:579:5) {
code: 'ERR_REQUIRE_ESM'
}
I don't know what to do or what i did it worked one day and stopped the next.
The text was updated successfully, but these errors were encountered: