laymance / remote-sync-pro

Upload your files to remote host after every change. Both SCP/SFTP and FTP are supported.
https://atom.io/packages/remote-sync-pro
MIT License
19 stars 6 forks source link

Uncaught The "path" argument must be of type string. Received type undefined #50

Closed ghost closed 5 years ago

ghost commented 5 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.40.1 x64 Electron: 3.1.10 OS: Unknown Windows version Thrown From: remote-sync-pro package 5.1.1

Stack Trace

Uncaught The "path" argument must be of type string. Received type undefined

At path.js:39

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at assertPath (path.js:39:11)
    at Object.join (path.js:434:7)
    at ScpTransport.module.exports.ScpTransport.fetchFileTree (/packages/remote-sync-pro/lib/transports/ScpTransport.coffee:114:23)
    at Object.run (/packages/remote-sync-pro/lib/commands/DownloadAllCommand.coffee:12:15)
    at RemoteSync.downloadFolder (/packages/remote-sync-pro/lib/RemoteSync.coffee:86:17)
    at handleEvent (/packages/remote-sync-pro/index.coffee:46:14)
    at /packages/remote-sync-pro/index.coffee:109:48)
    at CommandRegistry.handleCommandEvent (C:/ProgramData/manne/atom/app-1.40.1/resources/app/static/<embedded>:11:349123)
    at CommandRegistry.dispatch (C:/ProgramData/manne/atom/app-1.40.1/resources/app/static/<embedded>:11:347598)
    at AtomEnvironment.dispatchContextMenuCommand (C:/ProgramData/manne/atom/app-1.40.1/resources/app/static/<embedded>:1:744957)
    at EventEmitter.t (C:/ProgramData/manne/atom/app-1.40.1/resources/app/static/<embedded>:1:752963)
    at EventEmitter.emit (events.js:182:13)

Commands

     -6:43 encoding-selector:show (div.tool-panel.tree-view)
     -6:29.4.0 atom-ide-terminal:new-terminal (atom-pane.pane.active)
     -5:04.9.0 remote-sync-pro:configure (div.header.list-item.project-root-header)
     -4:10 core:backspace (input.hidden-input)
     -3:26.6.0 command-palette:toggle (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
  2x -3:19.2.0 github:toggle-git-tab (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -3:01.5.0 debugger:toggle (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -3:01.5.0 debugger:show (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -2:39.7.0 github:open-reviews-tab (textarea.xterm-helper-textarea)
     -1:43.5.0 github:toggle-github-tab (ul.list-inline.tab-bar.inset-panel)
     -1:36.6.0 command-palette:toggle (ul.list-inline.tab-bar.inset-panel)
     -1:11.8.0 core:save (input.hidden-input)
  2x -1:09.1.0 go-to-line:toggle (atom-text-editor.editor.is-focused)
     -0:13 remote-sync-pro:download-folder (div.header.list-item.project-root-header)

Non-Core Packages

atom-file-icons 0.7.1 
atom-ide-ui 0.13.0 
atom-ide-vue 1.1.0 
autoclose 0.0.2 
docblockr 0.13.7 
ide-php 0.7.18 
japanese-menu 1.14.0 
minimap 4.29.9 
php-twig 4.0.0 
remote-sync-pro 5.1.1