Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Dev tools console automatically opens with minimapViewProvider errors #558

Open
fredrikekelund opened this issue Jan 13, 2017 · 3 comments

Comments

@fredrikekelund
Copy link

I'm running Atom 1.13.0 on macOS Sierra 10.12.1 with minimap 4.26.6. The minimap isn't showing up after starting Atom, and once I start typing, the console in the Chromium dev tools open automatically with a number of errors produced by the minimap package. Here's the error message and the stack trace:

/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:514
Uncaught TypeError: Cannot read property 'minimapViewProvider' of null

Stack trace:
(anonymous function)                                @	/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:514
module.exports.ViewRegistry.createView              @	/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:111
module.exports.ViewRegistry.getView                 @	/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:84
module.exports.OverlayManager.renderOverlay         @	/Applications/Atom.app/Contents/Resources/app.asar/src/overlay-manager.js:64
module.exports.OverlayManager.render                @	/Applications/Atom.app/Contents/Resources/app.asar/src/overlay-manager.js:18
module.exports.TextEditorComponent.updateSync       @	/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:251
(anonymous function)                                @	/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:323
module.exports.ViewRegistry.performDocumentUpdate   @	/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:219
(anonymous function)                                @	/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:3

Let me know if I can do anything to debug the issue further!

@darfil81
Copy link

same issue here on windows 10

@abe33
Copy link
Contributor

abe33 commented Jan 18, 2017

Hi there, sorry for the delay, it's quite a weird issue it looks like the whole package wasn't properly loaded. Is there any report of a package loading error when starting Atom? What returns atom.getLoadedPackage('minimap').mainModule in the console? It should be an object with a minimapViewProvider on it.

@abe33 abe33 added the bug label Jan 18, 2017
@fredrikekelund
Copy link
Author

Since I initially couldn't get rid of this error, I disabled the minimap package. After updating it to 4.26.7 I re-enabled it, and I haven't been able to reproduce the error for an hour or so now. I don't know if this could have been a hiccup during the previous update? Can you still reproduce it @darfil81?

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants