Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Chalk 不会在 Firebase 日志中记录颜色,我知道firebase functions:log,它应该因为粉笔而应用了一些颜色;但它没有被应用。
firebase functions:log
我 100% 确定粉笔已安装。
例子:
import chalk from "chalk"; const success = chalk.greenBright; success("Kabul lobisi oluşturuluyor..");
根据粉笔文档,您应该使用:
console.log(success("Kabul lobisi oluşturuluyor.."));
调用仍然包含在console.log(...).
console.log(...)