FS#62020 - [npm] "Cannot read property 'length' of undefined" when running "npm -g outdated"

Attached to Project: Community Packages
Opened by heapify man (heapifyman) - Friday, 15 March 2019, 09:37 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 04 April 2023, 07:26 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Rumning "sudo npm -g outdated" leads to the following error message:

npm ERR! Cannot read property 'length' of undefined

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-03-15T09_32_46_744Z-debug.log


Additional info:
* npm 6.9.0-1

Steps to reproduce:
1. Install npm 6.9.0-1
2. Install a package globally, e.g. npm i -g @angular/cli
3. Run "npm -g outdated"

This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 04 April 2023, 07:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  See comments
Comment by heapify man (heapifyman) - Tuesday, 26 March 2019, 10:02 GMT

Loading...