Thanks for that, I believe I copied it from something on Yips site. Probably “depreciated”.

On 6/2/17, 1:56 PM, "OpenSource on behalf of Kevin Adler" <opensource-bounces@xxxxxxxxxxxx on behalf of kadler@xxxxxxxxxx> wrote:

FYI, that LIBPATH is wrong and shouldn't be needed. LIBPATH specifies the
path to libraries, not binaries. Here's a good explanation of LIBPATH:
[1]https://www.ibm.com/support/knowledgecenter/SSYKE2_8.0.0/com.ibm.java.aix.80.doc/user/setlpath.html

Since the directory you added did not have any libraries, it effectively
did nothing.



----- Original message -----
From: Robert Brown <rbpaservices@xxxxxxxxx>
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Cc:
Subject: Re: [IBMiOSS] Help with NodeJs Debug
Date: Fri, Jun 2, 2017 12:41 PM

My install is still running, but I noticed that the node-debug was
installed in my current node path. Since I am using Node6 this is the
path it chose
/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/node-inspector/bin/node-debug.js
with a symlink /QOpenSys/QIBM/ProdData/OPS/Node6/bin/node-debug

So it depends on where the node-debug was installed and you will have to
find it and add it to your $PATH so it can be found.

When I am working with Node 6 I use
export PATH=/QOpenSys/QIBM/ProdData/OPS/Node6/bin:$PATH
export LIBPATH=/QOpenSys/QIBM/ProdData/OPS/Node6/bin:

When I use Node 4:
export PATH=/QOpenSys/QIBM/ProdData/OPS/Node4/bin:$PATH
export LIBPATH=/QOpenSys/QIBM/ProdData/OPS/Node4/bin:

On 6/1/17, 5:58 PM, "OpenSource on behalf of john art"
<opensource-bounces@xxxxxxxxxxxx on behalf of jhon_art@xxxxxxxxxxx>
wrote:

Hi


do you mean this "node-debug --web-host 192.168.0.1 --web-port=13000
server.js " ? again error

/QOpenSys/usr/bin/-sh: node-debug: not found


do you mean this "node-debug " ? again error

/QOpenSys/usr/bin/-sh: node-debug: not found


pheraps i have not well understand ? be patient

thanks again for your reply
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [2]http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [3]http://archive.midrange.com/opensource.


--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [4]http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [5]http://archive.midrange.com/opensource.




References

Visible links
1. https://www.ibm.com/support/knowledgecenter/SSYKE2_8.0.0/com.ibm.java.aix.80.doc/user/setlpath.html
2. http://lists.midrange.com/mailman/listinfo/opensource
3. http://archive.midrange.com/opensource
4. http://lists.midrange.com/mailman/listinfo/opensource
5. http://archive.midrange.com/opensource
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2022 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.