Skip to content
This repository was archived by the owner on Jan 16, 2018. It is now read-only.

Uncaught TypeError: Cannot read property 'getPath' of undefined #88

@yuuhao

Description

@yuuhao

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.20.1 x64
Electron: 1.6.9
OS: Microsoft Windows 7 旗舰版
Thrown From: goto-definition package 1.3.4

Stack Trace

Uncaught TypeError: Cannot read property 'getPath' of undefined

At C:\Users\Administrator\.atom\packages\goto-definition\lib\goto-definition.js:72

TypeError: Cannot read property 'getPath' of undefined
    at Object.getScanOptions (/packages/goto-definition/lib/goto-definition.js:72:28)
    at Object.go (/packages/goto-definition/lib/goto-definition.js:169:48)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.20.1/resources/app/src/command-registry.js:265:35)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.20.1/resources/app/src/command-registry.js:3:65)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (~/AppData/Local/atom/app-1.20.1/resources/app/src/command-registry.js:166:25)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.20.1/resources/app/src/atom-environment.js:1338:34)
    at EventEmitter.outerCallback (~/AppData/Local/atom/app-1.20.1/resources/app/src/application-delegate.js:335:31)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

  2x -9:48.6.0 pane:show-item-1 (input.hidden-input)
     -2:37.8.0 tabs:split-right (div.title.icon.php-icon.dark-blue)
     -2:18.8.0 git-diff:move-to-next-diff (ul.list-inline.tab-bar.inset-panel)
  2x -1:23.2.0 goto-definition:go (input.hidden-input)
     -0:43.8.0 core:confirm (input.hidden-input)

Non-Core Packages

activate-power-mode 2.5.0 
atom-autocomplete-php 0.25.6 
atom-html-preview 0.2.2 
file-icons 2.1.12 
goto-definition 1.3.4 
hyperclick 0.1.5 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions