Open DerTev opened 2 years ago
New error:
import { Client, Intents } from "https://esm.sh/discord.js"
Warning The following packages contained npm lifecycle scripts (preinstall/install/postinstall) that were not executed:
┠─ npm:zlib-sync@0.1.9
┃
┠─ This may cause the packages to not work correctly.
┠─ Lifecycle scripts are only supported when using a `node_modules` directory.
┠─ Enable it in your deno config file:
┖─ "nodeModulesDir": "auto"
Uncaught TypeError: The URL must be of scheme file
at fileURLToPath (node:url:1160:11)
at getFilename (https://esm.sh/v135/@discordjs/ws@1.1.1/denonext/ws.mjs:2:3035)
at getDirname (https://esm.sh/v135/@discordjs/ws@1.1.1/denonext/ws.mjs:2:3087)
Failing module
Error message
After running
deno run
I got this:Additional info