crc32js command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
crc32js: command not found
or when using sudo you get the following error message
sudo: crc32js: command not found
Solutions to crc32js: command not found
How To Fix crc32js: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu crc32js is provided by node-crc32 package.
node-crc32 is:
CRC means ‘Cyclic Redundancy Check’ and is a way to checksum data. It is a simple algorithm based on polynomials and is used in such projects as gzip.
This module only works with UTF-8 strings, and is meant to be able to work on node and 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-crc32
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install node-crc32.
sudo apt -y install node-crc32
Or if you have aptitude installed you can use the following command.
sudo aptitude install node-crc32
Summary
In this tutorial we learn how to fix crc32js command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.