Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot get anything to work #459

Closed
marcucio opened this issue Nov 13, 2017 · 8 comments
Closed

cannot get anything to work #459

marcucio opened this issue Nov 13, 2017 · 8 comments

Comments

@marcucio
Copy link

I just did a clean install. I right clicked on project -> remote sync -> configure, nothing happens.

I also tried manually create the config file and still noting.

Is this supposed to work on OSX?

Thanks

@daverickdunn
Copy link
Collaborator

Yes it should work fine. Are there any error messages? Which version of atom are you running?

If there are JSON errors in .remote-sync.json, it will not load the package, however it currently leaves the menu options in the the context menu, they just do nothing, like you're describing. If this were the case however, it would have displayed a large error message within Atom at launch.

You could try putting nothing but { } in .remote-sync.json, relaunching atom, then try open the configure menu. That should be more or less fool proof...

@marcucio
Copy link
Author

I get the following error:

Failed to require the main module of 'remote-sync' because it requires one or more incompatible native modules (fsevents, binding, binding, binding, binding, binding, binding).
Run apm rebuild in the package directory and restart Atom to resolve.

I ran apm rebuild in /Users/mike/.atom/packages/remote-sync and I still get the same issue

@daverickdunn
Copy link
Collaborator

Which versions of Atom / Remote Sync are you using?

@marcucio
Copy link
Author

I tried in atom 1.22.0
And atom beta 1.22.0 x64
the package.json for remote sync shows [email protected]

I also updated OSX recently to latest version
Maybe I need to rebuild all atom plugins? If so how would I do that?

@marcucio
Copy link
Author

remote-sync 4.1.8

[email protected] – Cannot find module '/Users/mike/.atom/packages/remote-sync/node_modules/fsevents/lib/binding/Release/electron-v1.6-darwin-x64/fse.node'
[email protected] – Cannot find module '/Users/mike/.atom/packages/remote-sync/node_modules/fsevents/lib/binding'
[email protected] – Cannot find module '/Users/mike/.atom/packages/remote-sync/node_modules/fsevents/lib/binding'
[email protected] – Cannot find module '/Users/mike/.atom/packages/remote-sync/node_modules/fsevents/lib/binding'
[email protected] – Cannot find module '/Users/mike/.atom/packages/remote-sync/node_modules/fsevents/lib/binding'
[email protected] – Cannot find module '/Users/mike/.atom/packages/remote-sync/node_modules/fsevents/lib/binding'
[email protected] – Cannot find module '/Users/mike/.atom/packages/remote-sync/node_modules/fsevents/lib/binding'

@daverickdunn
Copy link
Collaborator

daverickdunn commented Nov 13, 2017

Maybe I need to rebuild all atom plugins? If so how would I do that?

Just what I was about to mention...

apm can get into a bit of a tizzy, it seems, if it has been upgrading packages for a while. You can try deleting: /Users/mike/.atom/packages/remote-sync/node_modules and running apm rebuild again (Sometimes it's the cached downloads that are corrupted, or incorrect versioned, etc.)

This post about another package might have some useful info: icetee/remote-ftp#839

@marcucio
Copy link
Author

apm rebuild from within atom seemed to fix, from the command line it did not fix

thanks for the help

@daverickdunn
Copy link
Collaborator

Good stuff!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants