The default SmartOS image is lean, and doesn't include the "make" package. You should be able to install it with "pkgin install gmake".
Joyent SmartOS: Installing NPM Packages
-
02-06-2022 - |
문제
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?
해결책
다른 팁
If you are in a non-global zone, you need to do:
pkgin install gmake-3.82nb5
...
제휴하지 않습니다 StackOverflow