NPM: Difference between revisions

From iFixWiki
(Created page with "NPM, short for Node Package Manager, is a plugin manager for JavaScript applications and tools. = Issues = == gyp ERR! build error == When trying to install a plugin the foll...")
 
(No difference)

Latest revision as of 00:52, 20 February 2020

NPM, short for Node Package Manager, is a plugin manager for JavaScript applications and tools.

Issues[edit]

gyp ERR! build error[edit]

When trying to install a plugin the following error occurs somewhere near the beginning of the log:

gyp ERR! stack Error: not found: make

Solution

This problem seems to occur in Ubuntu environments because an essential package is missing.[1] Use the following command to install and fix it:

sudo apt-get install build-essential

References[edit]