There's nothing public to see but the kerberos package is unmodified, as it installs via npm install. I wasn't aware that the binding.gyp file might need to be modified for IBM i/PASE... I've just checked it and it has sections for OS=mac, linux and win. Is it likely it will need another section adding and if so, is there any advice/guidance on how it should look?

The test script needs nothing more than the require statement for this module to fail with the error.


-----Original Message-----
From: OpenSource [mailto:opensource-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Bartell
Sent: 06 September 2017 13:51
To: IBMi Open Source Roundtable
Subject: Re: [IBMiOSS] node.js - 'module did not self-register' error

Did you end up needing to change binding.gyp for the kerberos npm to recognize the IBM i OS? Do you have a public fork so we can see?

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


On Wed, Sep 6, 2017 at 7:45 AM, Mark Ford <Mark.Ford@xxxxxxxxxxx> wrote:

Yes, the install of the package (and therefore node-gyp/compile) was
performed just prior to running it. I've only just got far enough
today to get the compile step working.

For info, the versions we have are:

node -v
v6.11.2

npm -v
3.10.10



-----Original Message-----
From: OpenSource [mailto:opensource-bounces@xxxxxxxxxxxx] On Behalf Of
Aaron Bartell
Sent: 06 September 2017 13:39
To: IBMi Open Source Roundtable
Subject: Re: [IBMiOSS] node.js - 'module did not self-register' error

I can see from Google that this is a fairly common issue and is
normally
down to a mismatch with the version of node, which shouldn't be the
case here.


I'd be curious if a different version of Node.js was present at
~compile~
(gcc/node-gyp) time of the kerberos npm vs. run time. Can you confirm
the same Node.js version was used at kerberos compile and run time?

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

Proud partner of The Ageas Bowl.

This email has been sent by and on behalf of one or more of Ageas (UK) Limited (registered no: 1093301 ), Ageas Insurance Limited (registered no: 354568), Ageas Retail Limited (registered no: 1324965), or a subsidiary of Ageas (UK) Limited (together “Ageas UK”). Ageas UK companies are registered in England and Wales, and each entity’s registered office is Ageas House, Hampshire Corporate Park, Templars Way, Eastleigh SO53 3YA.

Ageas Retail Limited is authorised and regulated by the Financial Conduct Authority. Financial Services Register Number: 312468.

Ageas Insurance Limited is authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority. Financial Services Register Number: 202039

This e-mail together with any attachments are intended for the addressee only and may be private and confidential. If you are not the intended recipient, or the person responsible for delivering it to the intended recipient, you must not open any attachments, or copy, disclose, distribute, retain or use this e-mail, including any attachments, in any way whatsoever; please return it to us immediately using the reply facility on e-mail.

Consider the environment and think before you print this email.

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