#globalName doesn't exist?

22 messages · Page 1 of 1 (latest)

soft patrolBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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!
red furnace
#

npm ls discord.js

pure panther
willow sentinel
#

Try restarting vscode or ts server

pure panther
#

figured it out now, 14.12.1 doesn't have the globalName push to it.
only 14.12.0 does

willow sentinel
#

Does it error if you compile it with tsc?

#

14.12.1 does have globalName tho?

pure panther
#

¯_(ツ)_/¯

#

apparently not

willow sentinel
#

It definitely does, it's definitely something else that caused the error

pure panther
willow sentinel
#

Now try going back to 14.12.1 again

pure panther
#

both work now ¯_(ツ)_/¯

#

changed nothing in my code

#

🤔

red furnace
#

update node

#

and / or ts

pure panther
#

to what versions minimum?

willow sentinel
#

That's a node error

willow sentinel