Skip to content

Showing npm loading bar and colors on stdout #412

@calebmer

Description

@calebmer

I'm using shelljs to run npm commands asynchronously like npm install. Can I display the npm loading bar and colors with shelljs? Currently only the raw text is output, so no color and no loading bar.

I'm using exec like this:

exec(`npm install "${name}@${version}"`, { async: true }, () => {
  
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions