× 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.



I just saw Kevin's answer come in after I had typed mine, so the following
will be for scenarios where you'd need to manually set things up (which has
been my case in situations where I have perzl+PowerRuby+5733OPS all
conflicting).

Need to create two symbolic links, one for 'node' and another for 'npm'. I
am fairly certain v0.12.13 had symlinks a little wonky and I'd highly
recommend you get to v4 or v6 (both are now available in 5733OPS). Here's
how you'd set the symlinks for v4.

ln -s /QOpenSys/QIBM/ProdData/OPS/Node4/bin/node /QOpenSys/usr/bin
ln -s /QOpenSys/QIBM/ProdData/OPS/Node4/bin/npm /QOpenSys/usr/bin

Aaron Bartell
IBM i hosting, starting at $157/month. litmis.com/spaces


On Fri, Dec 2, 2016 at 11:48 AM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:

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.