consola
consola copied to clipboard
Icon/Font issue on windows
Environment
NODE: LTS 22 Consola: 3.4.2
Reproduction
In windows when running the example syntax.
// ESM
import { consola, createConsola } from "consola";
// CommonJS
const { consola, createConsola } = require("consola");
consola.info("Using consola 3.0.0");
consola.start("Building project...");
consola.warn("A new version of consola is available: 3.0.1");
consola.success("Project built!");
consola.error(new Error("This is an example error. Everything is fine!"));
consola.box("I am a simple box");
await consola.prompt("Deploy to the production?", {
type: "confirm",
})
;
Describe the bug
I get weird issues regarding color, spacing, icons
Additional context
No response
Logs
I've tried it in cmd/PowerShell on Windows 11(24H2), but couldn't reproduce in either. But still, it could be a Windows-specific issue, no wonder...
It works fine on linux and mac just windows having these issues. Thought maybe I needed nerd fonts.. even after installing and using them I encounter the same issue.