HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

npm bugs — Report bugs for a package in a web browser. Attempts to open the package's bug tracker URL or suppor

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandreportbugsclipackagewebfornpm bugs

Problem

How to use the npm bugs command: Report bugs for a package in a web browser. Attempts to open the package's bug tracker URL or support email. More information: <https://docs.npmjs.com/cli/npm-bugs/>.

Solution

npm bugs — Report bugs for a package in a web browser. Attempts to open the package's bug tracker URL or support email. More information: <https://docs.npmjs.com/cli/npm-bugs/>.

Report bugs for a specific package by opening the bug tracker for the specified package:
npm bugs {{package_name}}


Open the bug tracker for the current package by searching for a package.json file and using its name:
npm bugs


Configure the browser used to open URLs by setting your preferred browser for npm commands:
npm {{[c|config]}} set browser {{browser_name}}


Control URL opening: set browser to true for the system URL opener, or false to print URLs in the terminal:
npm {{[c|config]}} set browser {{true|false}}

Code Snippets

Report bugs for a specific package by opening the bug tracker for the specified package

npm bugs {{package_name}}

Open the bug tracker for the current package by searching for a `package.json` file and using its name

npm bugs

Configure the browser used to open URLs by setting your preferred browser for `npm` commands

npm {{[c|config]}} set browser {{browser_name}}

Control URL opening: set `browser` to `true` for the system URL opener, or `false` to print URLs in the terminal

npm {{[c|config]}} set browser {{true|false}}

Context

tldr-pages: common/npm bugs

Revisions (0)

No revisions yet.