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



Yep, it shows v0.12.13. I know node4 is installed. I also know how to
check the version.

So, again I ask, how do I tell my applications (or my system if that's the
right terminology) to use the new version?

On Wed, Jul 6, 2016 at 3:43 PM, Aaron Bartell <aaronbartell@xxxxxxxxx>
wrote:

Before you start your app you can run:

node -v

From within your app you could try this:
http://bit.ly/determine-nodejs-version

Aaron Bartell
litmis.com - Services for open source on IBM i


On Wed, Jul 6, 2016 at 3:38 PM, Bradley Stone <bvstone@xxxxxxxxx> wrote:

Any other changes to source needed besides that? How do I know if I'm
using the new or old Node version with my application? (not just the DB2
adapter).

On Wed, Jul 6, 2016 at 3:31 PM, Aaron Bartell <aaronbartell@xxxxxxxxx>
wrote:

That depends what you mean by "convert". Node4 uses ES6 which has a
number
of new features. With that said, the primary thing you need to be
aware
of
is the changed path of the DB2 adapter. Going off of memory...

Node v0.12.x
var db = require('/QOpenSys/QIBM/ProdData/Node/os400/db2i/lib/db2')

Node v4.x
var db =
require('/QOpenSys/QIBM/ProdData/OPS/Node4/os400/db2i/lib/db2')

Aaron Bartell
litmis.com - Services for open source on IBM i


On Wed, Jul 6, 2016 at 3:24 PM, Bradley Stone <bvstone@xxxxxxxxx>
wrote:

Just looking through my system I see I have Node4 installed.

Is there a "simple" way to convert my apps done with the old version
to
use
the new version?
--
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.

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

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

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

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.