Comments (3)
Same error message for me. Just upgraded to v2.1.1.
On the pane with the markdown preview tab in it, I also had a tab containing an unsaved, untitled text file. Switching to this unsaved file from any other tab triggered the error.
Saving the text file (no extension needed) fixed the behaviour for me.
Atom Version: 1.4.3
System: Mac OS X 10.10.5
Thrown From: markdown-scroll-sync package, v2.1.1
Stack Trace
Uncaught TypeError: Cannot read property 'split' of undefined
At /Users/chris/.atom/packages/markdown-scroll-sync/lib/main.coffee:29
TypeError: Cannot read property 'split' of undefined
at isMarkdown (/Users/chris/.atom/packages/markdown-scroll-sync/lib/main.coffee:29:46)
at /Users/chris/.atom/packages/markdown-scroll-sync/lib/main.coffee:33:10
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
at /Applications/Atom.app/Contents/Resources/app.asar/src/pane-container.js:333:27
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
at Pane.module.exports.Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:248:22)
at Pane.module.exports.Pane.activateItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:316:21)
at Pane.module.exports.Pane.activateItemAtIndex (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:310:19)
at Pane.module.exports.Pane.activatePreviousItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:277:21)
at Pane.module.exports.Pane.removeItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:391:16)
at Pane.module.exports.Pane.destroyItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:453:16)
at atom-tabs.TabBarView.onClick (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:695:17)
Commands
-0:40.2.0 core:save (atom-text-editor.editor.is-focused)
-0:07.3.0 markdown-preview:toggle (atom-text-editor.editor.is-focused)
Config
{
"core": {
"openEmptyEditorOnStart": false,
"projectHome": "/Users/chris/path/to/a/project"
}
}
Installed Packages
# User
clock, v1.5.0
markdown-scroll-sync, v2.1.1
terminal-plus, v0.14.5
# Dev
No dev packages
from markdown-scroll-sync.
Fixed in 2.1.2
Thanks.,
from markdown-scroll-sync.
Nice one
from markdown-scroll-sync.
Related Issues (20)
- HTMLElement.shadowRoot is deprecated.
- Failed to activate the markdown-scroll-sync package
- Failed to activate the markdown-scroll-sync package
- HTMLElement.shadowRoot is deprecated.
- Failed to activate the markdown-scroll-sync package
- Failed to activate the markdown-scroll-sync package
- Failed to activate the markdown-scroll-sync package
- HTMLElement.shadowRoot is deprecated.
- HTMLElement.shadowRoot is deprecated.
- HTMLElement.shadowRoot is deprecated.
- Failed to activate the markdown-scroll-sync package
- Failed to activate the markdown-scroll-sync package
- Failed to activate the markdown-scroll-sync package
- Failed to activate the markdown-scroll-sync package
- Failed to activate the markdown-scroll-sync package HOT 1
- Failed to activate the markdown-scroll-sync package
- HTMLElement.shadowRoot is deprecated.
- Failed to activate the markdown-scroll-sync package
- HTMLElement.shadowRoot is deprecated.
- Failed to activate the markdown-scroll-sync package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown-scroll-sync.