Đá Cục Không Phải Cục Đá - Why my logger have no c...
Why my logger have no color
19 Replies
I have installed colorette
you don't have colors enabled via the environment variable or teh terminal doesn't support colors
Can I have some relate docs about enable
since nodemon have color so I think it not about terminal problem
I also see other repo having this kind of debug
But for me it not.
import '@sapphire/plugin-logger/register';
solve color problem
@24 I think it not loading any of my commands or listeners do you have any ideaI have turn loadMessageCommandListeners on
Have you checked the big red block at the top of https://www.sapphirejs.dev/docs/Guide/getting-started/getting-started-with-sapphire
Sapphire Framework
Getting started with Sapphire | Sapphire
To install Sapphire, you need to install both discord.js and @sapphire/framework. You can do this by running the
Yes I tried
You didnt read it correctly
Hmm so we not run it with compile js ?
You do
You have to change the main property...
Oh so I should change my main to js instead
Still nothing happen
working since i change it into dist/index.js
thanks for help me.
@Boomeravna https://github.com/sapphiredev/examples/blob/main/examples/with-swc/package.json I just found this example maybe too late 😦
GitHub
examples/package.json at main · sapphiredev/examples
Various examples of setting up your bot with the Sapphire Framework - examples/package.json at main · sapphiredev/examples
but can I ask why we use dotenv-cra with backend thing why not dotenv
Read the readme of dotenv-cra, that's why.