yongkangchen / remote-sync

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

Uncaught RangeError: Unsupported time zone specified undefined #484

Open nsvisiond opened 6 years ago

nsvisiond commented 6 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.27.1 x64 Electron: 1.7.15 OS: Unknown Windows version Thrown From: remote-sync package 4.1.8

Stack Trace

Uncaught RangeError: Unsupported time zone specified undefined

At C:\Users\kirk\.atom\packages\remote-sync\lib\Logger.coffee:36

RangeError: Unsupported time zone specified undefined
    at new DateTimeFormat (native)
    at Date.toLocaleTimeString (native)
    at Logger.module.exports.Logger.log (/packages/remote-sync/lib/Logger.coffee:36:24)
    at FtpTransport.module.exports.FtpTransport._getConnection (/packages/remote-sync/lib/transports/FtpTransport.coffee:122:13)
    at FtpTransport.module.exports.FtpTransport.upload (/packages/remote-sync/lib/transports/FtpTransport.coffee:45:6)
    at UploadListener.module.exports.UploadListener.processFile (/packages/remote-sync/lib/UploadListener.coffee:48:17)
    at /packages/remote-sync/node_modules/async/dist/async.js:4096:9
    at Object.process (/packages/remote-sync/node_modules/async/dist/async.js:2344:17)
    at /packages/remote-sync/node_modules/async/dist/async.js:2252:19
    at /packages/remote-sync/node_modules/async/dist/async.js:119:16)
    at runCallback (timers.js:672:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)

Commands

     -0:13.4.0 core:save (input.hidden-input)

Non-Core Packages

remote-sync 4.1.8