You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting the verbose flag true for one of my tasks does not print installation logs in the terminal.
Description
I am using pkg-install with listr. One of the tasks is to install all the dependencies as well as print installation logs (like what usually prints when you do npm install). It is installing the dependencies completely fine, but doing it silently without printing anything in the terminal.
import { projectInstall } from 'pkg-install';
....
....
const tasks = new list([
. . . . . .
. . . . . . .
{
title: 'Installing dependencies. It will take few minutes. Please do not cancel the installation.',
task: () => projectInstall({ cwd: newOptions.target, verbose: true })
}
... . . . . .
])
Activity
[-]Verbose flag not working.[/-][+]Verbose flag is not working.[/+]mbehzad commentedon May 13, 2024
In another issue: #2 (comment) someone was suggesting to use the stdio option, which seems to work: