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

Some installed packages could not be loaded because they contain native modules that were compiled for an earlier version of Atom. #434

Closed jatch closed 7 years ago

jatch commented 7 years ago

remote-sync 4.1.5

fsevents@1.1.1 – Cannot find module '/Users/username/.atom/packages/remote-sync/node_modules/fsevents/lib/binding/Release/electron-v1.6-darwin-x64/fse.node' binding@1.1.1 – Cannot find module '/Users/username/.atom/packages/remote-sync/node_modules/fsevents/lib/binding' binding@1.1.1 – Cannot find module '/Users/username/.atom/packages/remote-sync/node_modules/fsevents/lib/binding' binding@1.1.1 – Cannot find module '/Users/username/.atom/packages/remote-sync/node_modules/fsevents/lib/binding' binding@1.1.1 – Cannot find module '/Users/username/.atom/packages/remote-sync/node_modules/fsevents/lib/binding' binding@1.1.1 – Cannot find module '/Users/username/.atom/packages/remote-sync/node_modules/fsevents/lib/binding'

zenbro commented 7 years ago

You can rebuild outdated packages directly from atom: click on red bug icon in footer and press "Rebuild". This helped me after upgrading atom to 1.19.

daverickdunn commented 7 years ago

As @zenbro mentioned, a rebuild or reinstall should fix this. It's not a remote-sync specific issue.