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



What errors are you getting?

Did you actually create a new Node project? You need to do this first using "npm init" inside the folder where your project files are/will be, this will create a "package.json" file for you. I would avoid using spaces in the the folder name, it can cause problems with some Node utilities. If your version of NPM is less than 5.0.0 you should also add "--save" when you install a dependency "npm install node-jt400 --save" (as of version 5 it saves by default), this will update your package.json with the new dependency.

________________________________
From: WEB400 <web400-bounces@xxxxxxxxxxxx> on behalf of Kelly Cookson <KCookson@xxxxxxxxxxxx>
Sent: 16 March 2018 01:31
To: Web Enabling the IBM i (AS/400 and iSeries) (web400@xxxxxxxxxxxx)
Subject: [WEB400] What forum is best for a JTOpen and Node question?

Hi,

I'm not sure what forum is best to ask this question.

I have node running on a Windows machine. I want to install the node-jt400 module (https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Fnode-jt400&data=02%7C01%7C%7Cee331ad4a0a7400bab5808d58ad55fb5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636567571395935978&sdata=Y1ojQ2H68I0D8EWZR%2FBia2%2FSIS5g9KCsktJgAAoJ584%3D&reserved=0).

* The node-jt400 module allows JS scripts to access the JTOpen Java classes.

* The JTOpen Java classes allow remote access to IBM i resources.
So, a JS script running in node on Windows can call an IBM i COBOL program or update a DB2400 file using the JTOpen Java classes under the covers.

I know the install command (npm install node-jt400). But I'm getting errors.

I'm not sure WEB400 is the right place to get help on this. If not, can someone please recommend a better forum?

Thanks,

Kelly Cookson
IT Project Leader
Dot Foods, Inc.
217-773-4486 ext. 12676
https://eur01.safelinks.protection.outlook.com/?url=www.dotfoods.com&data=02%7C01%7C%7Cee331ad4a0a7400bab5808d58ad55fb5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636567571395935978&sdata=rkZF5J8IVwMHjUJ96PmgSqA3RGBEVSVpt%2FhKGbJhLkQ%3D&reserved=0<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dotfoods.com&data=02%7C01%7C%7Cee331ad4a0a7400bab5808d58ad55fb5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636567571395935978&sdata=LCmff%2BcPcQSeML%2BggDp%2Biw1kQ9N0o2fNCSSkIK5MQ4o%3D&reserved=0>

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fweb400&data=02%7C01%7C%7Cee331ad4a0a7400bab5808d58ad55fb5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636567571395935978&sdata=byZ5yirxc3flde88h4pvfzNOZRODItI9AyimmZF7yw0%3D&reserved=0
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fweb400&data=02%7C01%7C%7Cee331ad4a0a7400bab5808d58ad55fb5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636567571395935978&sdata=XIFFTXIweBE9hcBQ4%2Bd%2ByEtli2qTp04CDB1KSmuBnKs%3D&reserved=0.


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