New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-native-kill-packager

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-kill-packager

kill -9 React Native Packager running on port 8081.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

💣 react-native-kill-packager

Kill the React Native Packager running on port 8081.

Simply run react-native-kill-packager when you encounter this:

  ERROR  Packager can't listen on port 8081

  Most likely another process is already using this port
  Run the following command to find out which process:

     lsof -n -i4TCP:8081

  You can either shut down the other process:

     kill -9 <PID>

  or run packager on different port.

You can add it as an npm script and run npm run packager:kill or npm run packager:restart:

"scripts": {
  "packager:kill": "react-native-kill-packager",
  "packager:restart": "react-native-kill-packager; npm start",
};

Installation

npm install --save-dev react-native-kill-packager

Credits

Livio Bieri 🚀

FAQs

Package last updated on 27 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts