atom / settings-view

🔧 Edit Atom settings
MIT License
272 stars 275 forks source link

Uncaught TypeError: Cannot read property 'path' of undefined #1130

Closed SabraAS closed 5 years ago

SabraAS commented 5 years ago

[Enter steps to reproduce:]

  1. Open atom
  2. Go to settings
  3. Click in install packages

Atom: 1.38.0 x64 Electron: 2.0.18 OS: Deepin 15.10.1 Thrown From: Atom Core

Stack Trace

Uncaught TypeError: Cannot read property 'path' of undefined

At /usr/share/atom/resources/app/static/<embedded>:11

TypeError: Cannot read property 'path' of undefined
    at PackageManager.t.exports.PackageManager.packageHasSettings (/usr/share/atom/resources/app/static/<embedded>:11:928212)
    at PackageCard.hasSettings (/usr/share/atom/resources/app/static/<embedded>:14:2559807)
    at PackageCard.updateSettingsState (/usr/share/atom/resources/app/static/<embedded>:14:2550087)
    at PackageCard.updateInterfaceState (/usr/share/atom/resources/app/static/<embedded>:14:2549910)
    at new PackageCard (/usr/share/atom/resources/app/static/<embedded>:14:2541507)
    at InstallPanel.getPackageCardView (/usr/share/atom/resources/app/static/<embedded>:14:839989)
    at InstallPanel.addPackageViews (/usr/share/atom/resources/app/static/<embedded>:14:839720)
    at /usr/share/atom/resources/app/static/<embedded>:14:841210
    at AtomIoClient.t.exports.AtomIoClient.featuredPackages (/usr/share/atom/resources/app/static/<embedded>:14:798661)
    at InstallPanel.loadFeaturedPackages (/usr/share/atom/resources/app/static/<embedded>:14:841071)
    at new InstallPanel (/usr/share/atom/resources/app/static/<embedded>:14:834114)
    at Object.Install (/usr/share/atom/resources/app/static/<embedded>:11:948473)
    at SettingsView.getOrCreatePanel (/usr/share/atom/resources/app/static/<embedded>:11:950299)
    at SettingsView.showPanel (/usr/share/atom/resources/app/static/<embedded>:11:951133)
    at HTMLDivElement.clickHandler (/usr/share/atom/resources/app/static/<embedded>:11:946932)

Commands

Non-Core Packages

atom-babel-compiler 2.3.1 
atom-beautify 0.33.4 
atom-clock 0.1.16 
atom-code-ui 0.4.4 
atom-dark-minimal-ui 0.5.8 
atom-pug 0.2.0 
atom-vue-router 0.3.0 
autocompiler-pug-jade 2.0.1 
dracula-syntax 2.0.7 
dracula-ui 0.6.0 
file-icons 2.1.33 
flatify-ui 0.2.0 
git-plus 8.6.3 
hey-pane 1.1.2 
Hydrogen 2.9.0 
ide-css 0.3.2 
ide-html 0.5.0 
ide-json 0.2.1 
ide-rust 0.20.3 
ide-vue 0.1.9 
jade-beautify 0.1.5 
minimalist-ui 0.2.0 
pigments 0.40.2 
preview-plus 1.2.7 
pug 0.8.0 
pug-autocompile 0.1.0 
react 0.18.0 
sass 0.5.0 
sass-autocompile 0.13.5 
vuetify-atom 0.2.2 
rsese commented 5 years ago

Thanks for the report! Can you confirm if the error is reproducible and if you can reproduce in safe mode?

no-response[bot] commented 5 years ago

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.