Sublime Forum

Why does my sublime keep saying 'dub'

#1

im very new to the programming and i downloaded sublime but every time i try and run a code it keeps saying:
‘dub’ is not recognized as an internal or external command,
operable program or batch file.
[Finished in 54ms]
what does that mean and how to i fix it?

0 Likes

#2

Most likely it is a problem with your program, not Sublime. You may want to take the question over to StackOverflow, but remember to post a code example as you won’t get help with a programming question without showing the problematic code.

0 Likes

#3

Based on the error message your syntax is set to the D language. If you are indeed writing a D program then you need to install a D toolchain and make sure the dub program is in your $PATH.

0 Likes