atom-community / sync-settings

Synchronize all your settings and packages across atom instances
https://atom.io/packages/sync-settings
MIT License
1.14k stars 105 forks source link

Installing “sync-settings@5.2.9” failed with npm error #675

Closed nhchan closed 3 years ago

nhchan commented 3 years ago

I was trying to update sync-settings from 5.2.7 to 5.2.9 (via the GUI), and got the following error output:

npm ERR! Unexpected end of JSON input while parsing near '...Version: OpenPGP.js v'

I have attached the corresponding 2021-04-20T14_47_44_064Z-debug.log file.

I tried uninstalling the package altogether and reinstall, but the (re-)installation failed with the same error.

I am running Atom 1.56.0 (Electron 9.4.4, Chrome 83.0.4103.122, Node v12.14.1) on macOS 11.2.3.

Please advise. Thank you!

UziTech commented 3 years ago

sync-settings doesn't use OpenPGP.js in any way so this seems like an issue with apm or Atom. You could try uninstalling and reinstalling sync-settings.