Search code examples
node.jsinstallationsolarissunos

Nodejs installation not working in solaris


I have a 64 bit SunOS (Solaris) where i have installed (extracted) nodejs in that machine.

when i execute the "node" command it throws an error "-bash: /export/home/toml/das/node-v0.12.7-sunos-x64/bin/node: Invalid argument"

I don't know how to resolve this issue. Note: i have download the tar file from this location - https://nodejs.org/dist/v0.12.5/node-v0.12.5-sunos-x64.tar.gz

Note : we have a SPARC BOX


Solution

  • You need a SPARC binary - you can't use an x64 (64-bit x86) binary on a SPARC machine. "Invalid argument" is the poor error message shown when you try to run the wrong type of binary on Solaris.