javascriptnode.jsnpmjoyent

Joyent SmartOS: Installing NPM Packages


So I'm trying to host a node app with Joyent smartOS. After creating my instance, I git copied my current commit and tried to run npm install. The only problem is the process will get a little of the way through then fail.

Sifting through the logs, this seems the most relevant to me:

ERR!stack  Error: not found: make

I ran the package it fails on, npm install jquery, and I received the same fail error.

Does Joyent's node-based smartOS not have a make keyword? Is there anyway around this?


Solution

  • The default SmartOS image is lean, and doesn't include the "make" package. You should be able to install it with "pkgin install gmake".