Hi Predrag

I assume you are running this inside a Zone via zlogin?

We had a bug a few months ago. Basicaly bash gets a SIGHUP from the
process and quits.

We fixed this bug some time ago. You can also work around it by
connecting to the zone via ssh. It will keep the shell running.

If this does not work let us know. It might be another signal missfire.

Hope this helps
Greetings
Till

On 31.01.20 13:54, Predrag Zecevic - Unix Systems Administrator wrote:
> Hi all,
> 
> I have strange feeling that something is wrong with nodejs. I have
> installed:
> :; pkg list | grep nodejs
> runtime/nodejs                                    0.12.18-2018.0.0.2    
> i--
> runtime/nodejs-10                                 10.18.1-2019.0.0.0    
> i--
> runtime/nodejs-12                                 12.14.1-2019.0.0.0    
> i--
> runtime/nodejs-6                                  6.17.1-2018.0.0.0     i--
> runtime/nodejs-8                                  8.17.0-2019.0.0.0     i--
> 
> Default is:
> :; pkg mediator nodejs
> MEDIATOR            VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION
> nodejs              system    12      system
> 
> This command works:
> :; node --version
> v12.14.1
> 
> But this exists terminal (and works fine on Linux):
> :; npm ---version # same is true for 'npm version' command
> 
> When I call it like this, it works:
> :; npm --version |& tee
> 6.13.4
> 
> Am I doing something wrong here?
> 
> Regards.
> 
> P.S:
> :; npm init          # worked fine
> :; npm install xterm # from https://xtermjs.org/ - has finished
> installation, but then exited terminal - very annoying
> 

_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to