[MacPorts] #51155: npm-devel @ 3.8.6 runtime error due to update.js patch
#51155: npm-devel @ 3.8.6 runtime error due to update.js patch -------------------------+-------------------------------- Reporter: dualityim@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: npm | Port: npm-devel -------------------------+-------------------------------- The following error is produced when running "npm update <any>": {{{ 21 verbose stack ReferenceError: what is not defined 21 verbose stack at /opt/local/lib/node_modules/npm/lib/update.js:49:11 21 verbose stack at Array.forEach (native) 21 verbose stack at /opt/local/lib/node_modules/npm/lib/update.js:45:12 21 verbose stack at /opt/local/lib/node_modules/npm/lib/outdated.js:84:53 21 verbose stack at cb (/opt/local/lib/node_modules/npm/node_modules/slide/lib/async- map.js:47:24) 21 verbose stack at doIt (/opt/local/lib/node_modules/npm/lib/outdated.js:329:14) 21 verbose stack at onCacheAdd (/opt/local/lib/node_modules/npm/lib/outdated.js:423:9) 21 verbose stack at updateDeps (/opt/local/lib/node_modules/npm/lib/outdated.js:394:16) 21 verbose stack at saved (/opt/local/lib/node_modules/npm/lib/cache /caching-client.js:168:7) 21 verbose stack at /opt/local/lib/node_modules/npm/node_modules /graceful-fs/polyfills.js:210:7 }}} This is because the update.js patch in the port is no longer valid. The variable "what" no longer exists in the scope where the patch resides. It should probably be replaced with "ww.what". -- Ticket URL: <https://trac.macports.org/ticket/51155> MacPorts <https://www.macports.org/> Ports system for OS X
#51155: npm-devel @ 3.8.6 runtime error due to update.js patch --------------------------+------------------------- Reporter: dualityim@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: npm-devel | --------------------------+------------------------- Changes (by ciserlohn@…): * owner: macports-tickets@… => ciserlohn@… * keywords: npm => -- Ticket URL: <https://trac.macports.org/ticket/51155#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51155: npm-devel @ 3.8.6 runtime error due to update.js patch --------------------------+------------------------- Reporter: dualityim@… | Owner: ciserlohn@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: npm-devel | --------------------------+------------------------- Changes (by ciserlohn@…): * status: new => closed * resolution: => fixed Comment: Fixed in r148074. -- Ticket URL: <https://trac.macports.org/ticket/51155#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts