mustache.js command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mustache.js: command not found
or when using sudo you get the following error message
sudo: mustache.js: command not found
Solutions to mustache.js: command not found
How To Fix mustache.js: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mustache.js is provided by node-mustache package.
node-mustache is:
Inspired by ctemplate, Mustache is a framework-agnostic way to render logic-free views. (As in model-view-controller.)
As ctemplates says, “It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language.”
This package provides the Mustache rendering engine for NodeJS, and the `mustache’ command-line tool.
To fix this problem, we can install more using the command below.
sudo apt-get -y install node-mustache
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install node-mustache.
sudo apt -y install node-mustache
Or if you have aptitude installed you can use the following command.
sudo aptitude install node-mustache
Summary
In this tutorial we learn how to fix mustache.js command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.