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



Well, I ended up taking out the 2 lines in the typings.json config file that is used in the postinstall option that runs the typings install. After that the npm install process completed successfully. This was just my local dev environment. I'm sure there will be headaches if/when I can try node.js on the IBMi system.

Thanks,
Todd


-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Bradley Stone
Sent: Tuesday, May 10, 2016 5:24 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] node.js typings install fail

It may be more similar than you think.

When using SSL you need to trust the CA of the certificate. This is done normally by importing the CA chain into your system. Now, I know how to do this with the IBM i, but not with these new addon open source things.

I'm sure I'll need to figure it out one day, though... and I'll add it to my SSL documentation. :) I just haven't found time or need (the main motivator for me) yet.

Brad
www.bvstools.com

On Tue, May 10, 2016 at 3:16 PM, Allen, Todd <Todd.Allen@xxxxxxxxxxxxxxxxx>
wrote:

Aaron,

Thanks for the reply. It's similar but not quite the same. The error
I am seeing is below.

typings ERR! message Unable to connect to "
https://api.typings.org/entries/dt/es6-shim/tags/0.31.2%2B20160317120654";
typings ERR! caused by self signed certificate in certificate chain

Thanks,
Todd


-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Aaron
Bartell
Sent: Tuesday, May 10, 2016 3:54 PM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] node.js typings install fail

Not your exact scenario, but deals with ssl certs...
http://bit.ly/cacerts-wget

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


On Tue, May 10, 2016 at 2:36 PM, Allen, Todd
<Todd.Allen@xxxxxxxxxxxxxxxxx

wrote:

I’ve got my local node.js dev environment set up with the various
config files (tsconfig.json, package.json and typings.json). The
Angular2 tutorial adds a postintall “typings install” and that uses
the typings.json config file. This typings install fails every time
for a self-signed certificate in the security chain and fails to connect:
Unable to connect to https://api.typings.org/entries/dt/es
6-shim/tags/0.31.2%2B20160317120654

I have set the strict-ssl setting to false countless times. I’ve
read that creating a .typingsrc file may help. I’ve toyed with that
but still no joy.

Any guidance and/or tips are appreciated.

Todd Allen

For More Than 85 Years—Delivering Solutions That Exceed Expectations.

This communication and any transmitted documents are intended to be confidential. If there is a problem with this transmission, please contact the sender. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.

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.