consola icon indicating copy to clipboard operation
consola copied to clipboard

Icon/Font issue on windows

Open Millosaurs opened this issue 2 months ago • 2 comments

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

Image

Additional context

No response

Logs


Millosaurs avatar Oct 22 '25 17:10 Millosaurs

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...

kricsleo avatar Oct 23 '25 02:10 kricsleo

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.

Millosaurs avatar Oct 23 '25 04:10 Millosaurs