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

Failed to load the remote-sync package #453

Closed
MCStreetguy opened this issue Oct 25, 2017 · 2 comments
Closed

Failed to load the remote-sync package #453

MCStreetguy opened this issue Oct 25, 2017 · 2 comments

Comments

@MCStreetguy
Copy link

Whenever I start Atom, it shows up a FatalError Notification with the following message:

Failed to load the remote-sync package
Unexpected token } in JSON at position 11178 in /Users/maximilianschmidt/.atom/packages/remote-sync/package.json

Stack Trace:

SyntaxError: Unexpected token } in JSON at position 11178
at JSON.parse ()
at parseObject (/Applications/Atom.app/Contents/Resources/app/node_modules/season/lib/cson.js:58:25)
at parseContentsSync (/Applications/Atom.app/Contents/Resources/app/node_modules/season/lib/cson.js:72:22)
at Object.readFileSync (/Applications/Atom.app/Contents/Resources/app/node_modules/season/lib/cson.js:184:20)
at PackageManager.loadPackageMetadata (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:843:33)
at PackageManager.loadAvailablePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:586:29)
at config.transact (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:530:20)
at Config.module.exports.Config.transact (/Applications/Atom.app/Contents/Resources/app/src/config.js:342:22)
at PackageManager.loadPackages (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:528:23)
at /Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:821:34
at /Users/maximilianschmidt/.atom/packages/remote-sync/package.json:1:1

Steps to reproduce:

  1. Start Atom

Installed Packages:

Community Packages (18) /Users/maximilianschmidt/.atom/packages
├── [email protected]
├── [email protected]
├── [email protected] (disabled)
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── remote-sync
├── [email protected]
└── [email protected]

@daverickdunn
Copy link
Collaborator

That's kinda strange, have you been changing anything manually in the .atom folder? That file gets updated automatically by apm, and other than that it hasn't been changed in over a year, so I suspect this is in fact an apm/npm issue.

You should try uninstalling and reinstalling remote-sync. I imagine that will resolve it. If it still happens after that, then please attach the file: /Users/maximilianschmidt/.atom/packages/remote-sync/package.json.

Cheers.

@MCStreetguy
Copy link
Author

MCStreetguy commented Oct 26, 2017

I did not manipulate any files manually. I'm developing packages myself, therefore I know about the sensitivity of such files.
I'll try the reinstall tomorrow and inform you if i encounter further problems.

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