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



Mmmmmm

uid: -196556
er: Error: ENOTDIR, scandir '/home/KTURNER/.npm/registry.npmjs.org/jsdoc/.cache.json'

Now if I drill down to '/home/kturner/.npm/registry.npmjs.org/jsdoc' using wrklnk the directory appears to be empty - but I know the file exists because if I put the full path in I can see the contents. Same applies to the .npm folder actually.

Some attribute of the directory is preventing me from seeing it unless I access it directly.....weird.


-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Kevin Turner
Sent: 14 October 2015 15:32
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] Node and NPM don't work properly on some LPARS?

I think that is syntactically incorrect but I get the gist - I will add some code to debug it.

Strangely it seems to be trying to
"get saving sails to /home/KTURNER/.npm/registry.npmjs.org/sails/.cache.json"
And failing - but I wonder why "/home/kturner" when the install should be global??

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Bartell
Sent: 14 October 2015 14:59
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] Node and NPM don't work properly on some LPARS?

Need to figure out which condition on line 12 is causing the error. Try changing the file to have a console.log as follows.

if (er && er.code !== "ENOTDIR") return cb(er) console.log("p:%s er:%s !children.length:%s", p, er, !children.length)
if (er || !children.length) return fs.chown(p, uid, gid, cb)

As a side note, I've run into issues where chown and chmod didn't resolve security as expected and had to *additionally* use CHGAUT.


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


On Wed, Oct 14, 2015 at 8:50 AM, Kevin Turner <kevin.turner@xxxxxxxxxxxxxxx>
wrote:

Aaron

It is there in the debug log - node@v0.12.7

In my case I have *SECOFR user class and a group profile of QPGMR on
each machine.

Here is the gist:
https://gist.github.com/kpturner/618f738f12bf8740c144

Cheers
Kevin

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Aaron
Bartell
Sent: 14 October 2015 14:39
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] Node and NPM don't work properly on some LPARS?

​What version of Node.js are you running?

​Can you create a gist of this file? /QOpenSys/QIBM/ProdData/Node/
lib/node_modules/npm/node_modules/chownr/chownr.js

Guessing it has something to do with chown's** colon portion of the parm.

Look at your profile's on each machine and whether they have a group
profile specified.

**http://linux.die.net/man/1/chown

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


On Wed, Oct 14, 2015 at 8:25 AM, Kevin Turner <
kevin.turner@xxxxxxxxxxxxxxx>
wrote:

Actually it is not just global installs that fail. Local installs
also fail with the same error.

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Kevin
Turner
Sent: 14 October 2015 14:21
To: Web Enabling the IBM i (AS/400 and iSeries)
<web400@xxxxxxxxxxxx>
Subject: [WEB400] Node and NPM don't work properly on some LPARS?

We have a very frustrating, irritating and puzzling issue with node and
npm on some of our LPARS. On some, both node and npm work as expected.
On others it doesn't work at all. There does not seem to be any
difference between the LPARS that do and do not work, but clearly
there must be something amiss under the covers. We have reported it
to IBM, who have released further updates for us to try (SI58114 -
doesn't say what they are fixing or changing) but still no dice.

The problem is that we simply cannot install any packages globally. NPM
barfs for anything we try. For example:

npm install jsdoc -g

returns
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', 'jsdoc',
'-g' ]
2 info using npm@2.11.3
3 info using node@v0.12.7
27 verbose stack TypeError: uid must be an unsigned int
27 verbose stack at TypeError (native)
27 verbose stack at Object.fs.chown (fs.js:984:11)
27 verbose stack at

/QOpenSys/QIBM/ProdData/Node/lib/node_modules/npm/node_modules/chownr/
chownr.js:12:43
27 verbose stack at FSReqWrap.oncomplete (fs.js:95:15)


The ": uid must be an unsigned int " is persistent, regardless of
package :(


Anyone else have this type of issue? IBM are able to provide us with
anything useful to help.

________________________________

NOTICE: The information in this electronic mail transmission is
intended by CoralTree Systems Ltd for the use of the named
individuals or entity to which it is directed and may contain
information that is privileged or otherwise confidential. If you
have received this electronic mail transmission in error, please
delete it from your system without copying or forwarding it, and
notify the sender of the error by reply email or by telephone, so
that the sender's address
records can be corrected.




--------------------------------------------------------------------
--
----------


CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT

Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.
--
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: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/web400.


___________________________________________
This email has been scanned by iomartcloud.
http://www.iomartcloud.com/


________________________________

NOTICE: The information in this electronic mail transmission is
intended by CoralTree Systems Ltd for the use of the named
individuals or entity to which it is directed and may contain
information that is privileged or otherwise confidential. If you
have received this electronic mail transmission in error, please
delete it from your system without copying or forwarding it, and
notify the sender of the error by reply email or by telephone, so
that the sender's address
records can be corrected.




--------------------------------------------------------------------
--
----------


CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT

Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.
--
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: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/web400.


--
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: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.


___________________________________________
This email has been scanned by iomartcloud.
http://www.iomartcloud.com/


________________________________

NOTICE: The information in this electronic mail transmission is
intended by CoralTree Systems Ltd for the use of the named individuals
or entity to which it is directed and may contain information that is
privileged or otherwise confidential. If you have received this
electronic mail transmission in error, please delete it from your
system without copying or forwarding it, and notify the sender of the
error by reply email or by telephone, so that the sender's address records can be corrected.




----------------------------------------------------------------------
----------


CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT

Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.
--
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: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.


--
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: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.


___________________________________________
This email has been scanned by iomartcloud.
http://www.iomartcloud.com/


________________________________

NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.



--------------------------------------------------------------------------------


CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT

Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.
--
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: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.


___________________________________________
This email has been scanned by iomartcloud.
http://www.iomartcloud.com/


________________________________

NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.



--------------------------------------------------------------------------------


CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT

Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.

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.