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
Opened by heapify man (heapifyman) - Friday, 15 March 2019, 09:37 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 04 April 2023, 07:26 GMT
|
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
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
seems to have been fixed for version 6.9.1 -
https://npm.community/t/npm-outdated-throw-an-error-cannot-read-property-length-of-undefined/5929