× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



A link gets created in /QOpenSys/usr/bin, but this is not on the default
QSH PATH. Either use a PASE shell such as QP2TERM or SSH (preferred) ,
fully qualify /QOpenSys/usr/bin/node, or add /QOpenSys/usr/bin to the PATH
in QSH.


"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 12/02/2016
11:48:12 AM:

From: Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 12/02/2016 11:48 AM
Subject: Error found searching for command node.
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>

I'm working off this IBM doc on Node.js on i:

https://www.ibm.com/developerworks/ibmi/library/i-native-js-app-
ibmi-with-nodejs/


Under "Install Node.js on IBM i", it says that the node command
should be globally available, but it only works for me from within
the node dir itself. I assume that's a problem I need to fix before
proceeding.


Here's my QSH output:

cd $HOME
$
node -v
qsh: 001-0019 Error found searching for command node. No such path
or directory.
$
cd /QOpenSys/QIBM/ProdData/Node/bin
$
./node -v
v0.12.13
$



So how can I fix this?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.