#your file doesn t exist

1 messages · Page 1 of 1 (latest)

shell orchid
#

I realised I saved it as trial.js but still nothing

rough dew
#

where did you save it

toxic blaze
#

Double-Triple check your reference

celest marsh
toxic blaze
#

If still correct, then you should be able to 'CTRL+CLICK' the reference, and it'll open the file

shell orchid
#

it's in the discord bot folder

toxic blaze
shell orchid
#

is it supposed to be in the node directory

toxic blaze
#

Or along those lines

rough dew
# shell orchid

then just navigate there, or just use the terminal built into your ide

#

or you can use something like windows terminal which adds an option open a terminal in a specific directory on right click

toxic blaze
#

You can also add scripts to your package.json to alias commands whoch is quite useful, e.g. mine:

  "scripts": {
    "test": "node src/bot.js",
    "debug": "node --inspect src/bot.js",
    "deploy": "git push heroku main"
  },
rough dew
#

"test" should be for testing doe

#

"start" would be better

toxic blaze
#

Tomato Tomarto, it works for me.
Just an example

rough dew
#

nah just naming something that starts your bot "test" makes no sense

#

"start" and "dev" are convention

toxic blaze