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 TypeError: The "path" argument must be of type string. Received type undefined #59

Open akeslo opened 3 years ago

akeslo commented 3 years ago

[Enter steps to reproduce:]

  1. Download a file/directory from remote

Atom: 1.52.0 x64 Electron: 6.1.12 OS: Mac OS X 10.15.7 Thrown From: remote-sync-pro package 5.1.1

Stack Trace

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

At internal/validators.js:107

TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:107:11)
    at Object.join (path.js:1037:7)
    at RemoteSync.downloadFile (/packages/remote-sync-pro/lib/RemoteSync.coffee:92:21)
    at handleEvent (/packages/remote-sync-pro/index.coffee:46:14)
    at /packages/remote-sync-pro/index.coffee:108:46)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349963)
    at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:348438)
    at AtomEnvironment.dispatchContextMenuCommand (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:726079)
    at EventEmitter.t (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:734085)
    at EventEmitter.emit (events.js:200:13)
    at Object.onMessage (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/init.js:42:16)

Commands

     -0:42.4.0 intentions:highlight (input.hidden-input)
  2x -0:42.4.0 datatip:toggle (input.hidden-input)
     -0:40.1.0 core:close (input.hidden-input)
     -0:03.6.0 remote-sync-pro:download-file (li.file.entry.list-item.selected)

Non-Core Packages

atom-ide-ui 0.13.0 
atom-ternjs 0.20.0 
autoclose-html 0.23.0 
autocomplete-python 1.16.0 
busy-signal 2.0.1 
color-indent 1.1.0 
color-tabs 0.1.8 
hyperclick 0.0.0 
intentions 1.1.5 
linter 2.3.1 
linter-php 1.6.1 
linter-tidy 2.4.0 
linter-ui-default 1.8.1 
minimap 4.29.9 
minimap-autohider 1.6.0 
multi-cursor 3.0.0 
php-hyperclick 1.2.1 
pigments 0.40.2 
pretty-json 2.1.2 
project-manager 3.3.8 
remote-sync-pro 5.1.1 
sync-settings 5.0.2