browser-pack command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
browser-pack: command not found
or when using sudo you get the following error message
sudo: browser-pack: command not found
Solutions to browser-pack: command not found
How To Fix browser-pack: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu browser-pack is provided by node-browser-pack package.
node-browser-pack is:
This module takes a JSON files as input describing a set of javascript files and outputs a javascript function descripting source code and dependencies.
This modules is part of Browserify is a JavaScript tool that allows developers to write Node.js-style modules that compile for use in the browser.
Node.js is an event-based server-side JavaScript engine.
To fix this problem, we can install more using the command below.
sudo apt-get -y install node-browser-pack
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install node-browser-pack.
sudo apt -y install node-browser-pack
Or if you have aptitude installed you can use the following command.
sudo aptitude install node-browser-pack
Summary
In this tutorial we learn how to fix browser-pack command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.