npm-gui hang when trying to display global dependencies or Dev dependencies tabs
gorilla-leo opened this issue · 0 comments
gorilla-leo commented
OS: OSX High Sierra v. 10.13.6
npm v. 6.4.1
node v. 10.9.0
Browser: Firefox Quantum v. 63.0.1
When I click on Global dependencies or Dev dependencies button npm-gui keeps showing spinners forever and shows these console messages:
npm-gui web-server running at http://localhost:1337/{ Error: ENOENT: no such file or directory, open '�w^~)�/package.json' at Object.openSync (fs.js:434:3)
at Object.readFileSync (fs.js:339:35) at /usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:170880
at Generator.next (<anonymous>) at z (/usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:168409)
at o (/usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:168611) at /usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:168670
at new Promise (<anonymous>)
at /usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:168552
at L (/usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:171137)
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '�w^~)�/package.json' }
{ Error: ENOENT: no such file or directory, open '�w^~)�/package.json'
at Object.openSync (fs.js:434:3)
at Object.readFileSync (fs.js:339:35)
at /usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:168779
at /usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:168846
at Generator.next (<anonymous>)
at z (/usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:168409)
at o (/usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:168611)
at /usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:168670
at new Promise (<anonymous>)
at /usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:168552
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '�w^~)�/package.json' }
Error: [object Object]
at ChildProcess.s.on (/usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:167021)
at ChildProcess.emit (events.js:182:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
at onErrorNT (internal/child_process.js:406:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Error: [object Object]
at ChildProcess.s.on (/usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:167021)
at ChildProcess.emit (events.js:182:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
at onErrorNT (internal/child_process.js:406:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Error: [object Object]
at ChildProcess.s.on (/usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:167021)
at ChildProcess.emit (events.js:182:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
at onErrorNT (internal/child_process.js:406:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
TypeError: Cannot read property 'match' of undefined
at A (/usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:167894)
at Object.keys.map.e (/usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:180536)
at Array.map (<anonymous>)
at /usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:180529
at Generator.next (<anonymous>)
at Fe (/usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:179825)
at o (/usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:180028)
TypeError: Cannot read property 'match' of undefined
at A (/usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:167894)
at Object.keys.map.e (/usr/local/lib/node_modules/npm-gui/dist/server/main.js:535:180323)
at Array.map (<anonymous>)