문제

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