hanyazou / tree-view-finder

Mac OS finder like file browser for ATOM editor.
MIT License
10 stars 7 forks source link

Uncaught TypeError: Path must be a string. Received undefined #12

Open zhpelo opened 7 years ago

zhpelo commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.15.0 x64 Electron: 1.3.13 OS: Unknown Windows version Thrown From: tree-view-finder package 0.2.1

Stack Trace

Uncaught TypeError: Path must be a string. Received undefined

At path.js:7

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at Object.normalize (path.js:309:5)
    at DefaultDirectoryProvider.module.exports.DefaultDirectoryProvider.directoryForURISync (/app.asar/src/default-directory-provider.js:17:29)
    at Project.module.exports.Project.addPath (/app.asar/src/project.js:265:51)
    at Project.module.exports.Project.setPaths (/app.asar/src/project.js:247:14)
    at Object.push (/packages/tree-view-finder/lib/tree-view-finder.coffee:328:18)
    at /packages/tree-view-finder/lib/tree-view-finder.coffee:220:20)
    at /packages/tree-view-finder/lib/doubleTap.js/xorTap.js:46:13)
    at /packages/tree-view-finder/lib/tree-view-finder.coffee:243:10)
    at /app.asar/node_modules/jquery/dist/jquery.js:4435:9)
    at /app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

Non-Core Packages

atom-beautify 0.29.17 
autocomplete-paths 1.0.5 
color-picker 2.2.5 
docblockr 0.9.1 
jquery-snippets 11.0.0 
Remote-FTP 0.10.7 
simplified-chinese-menu 3.5.0 
terminal-plus 0.14.5 
tree-view-finder 0.2.1