#VSCode Crashing

8 messages · Page 1 of 1 (latest)

graceful terraceBOT
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
latent python

Are you using commonjs or esm module?

Well you can try this

import the discord.js from the top by doing this:

const { ChatInputCommandInteraction } = require("discord.js");

/**
 * @param {ChatInputCommandInteraction} interaction
 */
south galleon

Use ESM/TypeScript

latent python

TypeScript has type inference

You should be good

lapis sigil

I had issues with it. But mine was different. The language server would take like all the RAM (8GB) and would hang the system. I disabled all extensions and re-enabled all of them. My issue could have been because I used an auto save config for that workspace and for each auto save, i had the prettier-plugin-tailwindcss reformat the files. Unsure if that is what caused it or standalone issue for the language server. But language server was acting weird.