Open joshlong opened 9 years ago
Thanks for the report. Scope Inspector isn't quite up-to-date with recent API changes, which is what might break it for you. Hopefully I have some time on the weekend to fix it.
I brought the package up to date and fixed all deprecation errors. I guess this will get rid of this one as well, but I am not sure as I could not reproduce it. If it still occurs, please reopen this issue (or file a new one).
I still have the issue when opening a file just after Atom start
Still happening on Atom 1.16.0.
Seeing this issue with the latest version of Atom 1.25.0.
[Enter steps to reproduce:]
1. ...
2. ...
**Atom**: 1.25.0 x64
**Electron**: 1.7.11
**OS**: Mac OS X 10.13.3
**Thrown From**: [scope-inspector](https://github.com/tvooo/scope-inspector) package 1.0.1
Failed to activate the scope-inspector package
At Cannot read property 'getHoistedIdentifiers' of null
TypeError: Cannot read property 'getHoistedIdentifiers' of null
at Inspection.module.exports.Inspection.updateHoistingIndicators (/packages/scope-inspector/lib/inspection.coffee:101:31)
at /packages/scope-inspector/lib/inspection.coffee:41:8
at Config.observeKeyPath (/Applications/Atom.app/Contents/Resources/app/src/config.js:1012:11)
at Config.observe (/Applications/Atom.app/Contents/Resources/app/src/config.js:481:25)
at Inspection.module.exports.Inspection.registerEvents (/packages/scope-inspector/lib/inspection.coffee:40:17)
at /packages/scope-inspector/lib/inspection.coffee:25:6)
at ScopeInspector.updateInspection (/packages/scope-inspector/lib/scope-inspector.coffee:23:18)
at /packages/scope-inspector/lib/scope-inspector.coffee:17:8
at Workspace.observeTextEditors (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:637:59)
at ScopeInspector.registerInspections (/packages/scope-inspector/lib/scope-inspector.coffee:13:20)
at ScopeInspector.activate (/packages/scope-inspector/lib/scope-inspector.coffee:60:26)
at Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:230:33)
at measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:206:33)
at Package.measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:88:25)
at activationPromise.Promise (/Applications/Atom.app/Contents/Resources/app/src/package.js:200:20)
at Promise (<anonymous>)
at Package.activate (/Applications/Atom.app/Contents/Resources/app/src/package.js:198:38)
at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:695:42)
at config.transactAsync (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:670:36)
at Config.transactAsync (/Applications/Atom.app/Contents/Resources/app/src/config.js:862:28)
at PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:668:23)
at PackageManager.activate (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:647:50)
at loadStatePromise.loadState.then (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:867:27)
at <anonymous>
-2:22.2.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
busy-signal 1.4.3
intentions 1.1.5
linter 2.2.0
linter-ui-default 1.7.1
nuclide 0.288.0
prettier-atom 0.52.0
scope-inspector 1.0.1
Just attempted to install scope-inspector.
This project seems dead, I switched to: https://github.com/lejsue/symbols-navigator
The developer there is very responsive.
[Enter steps to reproduce below:]
Atom Version: 0.187.0 System: Mac OS X 10.10.2 Thrown From: scope-inspector package, v0.2.1
Stack Trace
Uncaught TypeError: Cannot read property 'getHoistedIdentifiers' of null
Commands
Config
Installed Packages