Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Uncaught TypeError: Cannot read property 'endsWith' of undefined, using Jekyll  #7714

Closed

Description

@nmenag

[Enter steps to reproduce below:

Atom Version: 1.0.0
System: Mac OS X 10.10.4
Thrown From: Atom Core

Stack Trace

Uncaught TypeError: Cannot read property 'endsWith' of undefined

At /Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:744

TypeError: Cannot read property 'endsWith' of undefined
  at Pane.module.exports.Pane.handleSaveError (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:744:51)
  at Pane.module.exports.Pane.saveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:527:16)
  at Pane.module.exports.Pane.saveActiveItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:506:19)
  at Workspace.module.exports.Workspace.saveActivePaneItem (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace.js:592:35)
  at atom-workspace.atom.commands.add.core:save (/Applications/Atom.app/Contents/Resources/app.asar/src/workspace-element.js:311:30)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:180:20)

Commands

     -0:15.8.0 grammar-selector:show (atom-text-editor.editor)
  2x -0:12.3.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:02.2.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "seti-ui",
      "monokai"
    ]
  },
  "editor": {
    "invisibles": {},
    "showIndentGuide": true,
    "fontSize": 12
  }
}

Installed Packages

# User
atom-color-highlight, v3.0.9
autocomplete-php, v0.3.6
autocomplete-ruby, v0.1.0
autocomplete-sass, v0.1.0
color-picker, v2.0.7
css-snippets, v0.8.0
emmet, v2.3.12
highlight-line, v0.11.0
linter, v1.1.0
markdown-format, v2.5.1
minimap, v4.10.2
monokai, v0.14.0
project-manager, v1.15.10
seti-ui, v0.7.1
tidy-markdown, v1.0.0

# Dev
No dev packages

Activity

  1. changed the title [-]Uncaught TypeError: Cannot read property 'endsWith' of undefined[/-] [+]Uncaught TypeError: Cannot read property 'endsWith' of undefined, using Jekyll [/+] on Jul 5, 2015
  2. izuzak commented on Jul 5, 2015

    @izuzak
    Contributor

    @nmenag What do you mean "using Jekyll" -- is that a package? Can you share the exact steps which reproduce the problem for you, assuming that I don't have any packages installed (which packages would I need to install?)? Can you reproduce this problem in safe mode?

  3. nmenag commented on Jul 5, 2015

    @nmenag
    Author

    Ok, Jekyll http://jekyllrb.com, when i edit/save a markdown file(edit the posts), changed me the format and return this error. only happens with Jekyll.

    step_errors

  4. izuzak commented on Jul 6, 2015

    @izuzak
    Contributor

    @nmenag Does this happen for all markdown files or only some? Can you provide a link to one markdown file it happens with? Also, can you reproduce the problem in safe mode?

  5. lock commented on Jan 21, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  6. locked as resolved and limited conversation to collaborators on Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions