On Mon, 11 May 2020 14:17:30 +0000 Nikolay Shaplov <dh...@nataraj.su> wrote: > Package: npm > Version: 6.14.3+ds-1~bpo10+1 > Severity: normal > > Hi! I tried to use npm from buster-backports. Actually I wanted to > report another bug, but desided to check if it is fixed in backports. > But found a new one. > > So I am running a command > > # npm install matrix-appservice-irc --global > > and get > > npm ERR! pathArray is not defined > > npm ERR! A complete log of this run can be found in: > npm ERR! /root/.npm/_logs/2020-05-11T14_11_32_344Z-debug.log > >
I get this error with simply entering npm: npm ERR! pathArray is not defined npm ERR! A complete log of this run can be found in: npm ERR! /home/myuser/.npm/_logs/2020-05-13T08_00_52_795Z-debug.log debug report as attachment...
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm' ] 2 info using npm@6.14.3 3 info using node@v10.19.0 4 verbose stack ReferenceError: pathArray is not defined 4 verbose stack at Object.get (/usr/lib/nodejs/dot-prop/index.js:40:3) 4 verbose stack at Configstore.get (/usr/lib/nodejs/configstore/index.js:70:18) 4 verbose stack at UpdateNotifier.check (/usr/share/npm/node_modules/update-notifier/index.js:78:16) 4 verbose stack at module.exports.options (/usr/share/npm/node_modules/update-notifier/index.js:151:17) 4 verbose stack at EventEmitter.<anonymous> (/usr/share/npm/bin/npm-cli.js:85:48) 4 verbose stack at process._tickCallback (internal/process/next_tick.js:61:11) 5 verbose cwd /home/dimension 6 verbose Linux 4.19.0-9-amd64 7 verbose argv "/usr/bin/node" "/usr/bin/npm" 8 verbose node v10.19.0 9 verbose npm v6.14.3 10 error pathArray is not defined 11 verbose exit [ 1, true ]