atom/settings-view

Uncaught TypeError: Cannot read property 'version' of undefined

Closed this issue · 5 comments

@tayyabsayyad commented on Oct 20, 2018, 5:39 PM UTC:

Atom: 1.31.2 x64
Electron: 2.0.7
OS: Ubuntu 18.04.1
Thrown From: Atom Core

Stack Trace

Uncaught TypeError: Cannot read property 'version' of undefined

At /usr/share/atom/resources/app/node_modules/settings-view/lib/package-card.js:248

TypeError: Cannot read property 'version' of undefined
    at /usr/share/atom/resources/app/node_modules/settings-view/lib/package-card.js:248:41
    at /usr/share/atom/resources/app/node_modules/settings-view/lib/package-manager.js:333:24
    at exit (/usr/share/atom/resources/app/node_modules/settings-view/lib/package-manager.js:128:22)
    at triggerExitCallback (/usr/share/atom/resources/app/src/buffered-process.js:267:15)
    at bufferStream (/usr/share/atom/resources/app/src/buffered-process.js:288:15)
    at Socket.stream.on (/usr/share/atom/resources/app/src/buffered-process.js:164:13)
    at emitOne (events.js:121:20)
    at Socket.emit (events.js:211:7)
    at Pipe._handle.close [as _onclose] (net.js:554:12)

Commands

     -8:27.7.0 core:save (input.hidden-input)

Non-Core Packages

hugofy 2.0.0 
language-hugo 0.5.1 
language-markdown 0.26.0 
markdown-toc 0.4.2 
markdown-writer 2.9.0 

This issue was moved by rsese from atom/atom#18293.

rsese commented

Thanks for the report! Can you confirm a few things for us?

  • What were you doing at the time of the error?
  • Is the error is reproducible?
  • If reproducible, do you see the error in safe mode (atom --safe)?

x-ref: #943

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@rese I was installing platformio-ide terminal when this happened

I also experienced this error while searching for install-able packages. I think this may be a linux related issue. Specifically, apm has ceased working entirelly, and as such the issue would certainly have to be related, no? For example, When in "settings" i navigated to "packages" they never load. if I navigate to "install." the following error throws:

internal/modules/cjs/loader.js:718 return process.dlopen(module, path.toNamespacedPath(filename)); ^ Error: /usr/lib/node_modules/atom-package-manager/node_modules/git-utils/build/Release/git.node: undefined symbol: _ZN2v811HandleScope12CreateHandleEPNS_8internal24NeverReadOnlySpaceObjectEPNS1_6ObjectE at Object.Module._extensions..node (internal/modules/cjs/loader.js:718:18) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/node_modules/git-utils/lib/git.js:8:16) at Object.<anonymous> (/usr/lib/node_modules/atom-package-manager/node_modules/git-utils/lib/git.js:371:4) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)

if i begin typing in the "install" search bar, error #1088 throws.

rsese commented

@astrelochnik - if you have a reproducible error with a supported installation of Atom, go ahead and open a new issue and we'll take a look.