سؤال

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?

هل كانت مفيدة؟

المحلول

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

نصائح أخرى

If you are in a non-global zone, you need to do:

pkgin install gmake-3.82nb5

...

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top