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 Error: Cannot find module './model/host'Require stack:- $ATOM_HOME/packages\remote-syn... #518

Open abdul9910 opened 3 years ago

abdul9910 commented 3 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.50.0 x64 Electron: 5.0.13 OS: Microsoft Windows 10 Home Thrown From: remote-sync package 4.1.8

Stack Trace

Uncaught Error: Cannot find module './model/host' Require stack:

At internal/modules/cjs/loader.js:686

Error: Cannot find module './model/host'
Require stack:
- C:\Users\SATTAR_Fathima\.atom\packages\remote-sync\lib\RemoteSync.coffee
- C:\Users\SATTAR_Fathima\.atom\packages\remote-sync\index.coffee
- C:\Users\SATTAR_Fathima\AppData\Local\atom\app-1.50.0\resources\app.asar\static\index.html
    at Module._resolveFilename (internal/modules/cjs/loader.js:683:15)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.50.0/resources/electron.asar/common/reset-search-paths.js:43:12)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:11:155481)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:11:146814)
    at Object.configure (/packages/remote-sync/lib/RemoteSync.coffee:313:13)
    at HTMLElement.configure (/packages/remote-sync/index.coffee:58:14)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:11:349780)
    at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:11:348255)
    at AtomEnvironment.dispatchContextMenuCommand (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:1:765638)
    at EventEmitter.t (~/AppData/Local/atom/app-1.50.0/resources/app/static/<embedded>:1:773644)
    at EventEmitter.emit (events.js:194:13)

Commands

     -0:28 remote-sync:upload-folder (span.name.icon.icon-file-directory)
     -0:11.3.0 remote-sync:configure (span.name.icon.icon-file-directory)

Non-Core Packages

atom-python-run 0.9.7 
project-manager 3.3.8 
remote-ftp 2.2.4 
Remote-SSH 0.11.0 
remote-sync 4.1.8 
replicated-preview 2.0.0