Skip to content

Verbose flag is not working. #7

@sprakash57

Description

@sprakash57

What is happening?

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 })
}

... . . . . .
])

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions