Glavin001 / atom-beautify

:mega: Help Wanted - Looking for Maintainer: https://github.com/Glavin001/atom-beautify/issues/2572 | :lipstick: Universal beautification package for Atom editor (:warning: Currently migrating to https://github.com/Unibeautify/ and have very limited bandwidth for Atom-Beautify Issues. Thank you for your patience and understanding :heart: )
http://unibeautify.com/
MIT License
1.49k stars 454 forks source link

Installation fails! #2581

Closed 2brownc closed 3 years ago

2brownc commented 3 years ago

Description

Cannot even install in Atom editor. Fails with the following message:

1494 verbose Linux 5.10.42-1-MANJARO
1495 verbose argv "/var/lib/snapd/snap/atom/282/usr/share/atom/resources/app/apm/bin/node" "/var/lib/snapd/snap/atom/282/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/moss/.atom/.apm/.apmrc" "--userconfig" "/home/moss/.atom/.apmrc" "install" "https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball" "--target=9.4.4" "--disturl=https://atom.io/download/electron" "--arch=x64" "--global-style"
1496 verbose node v12.14.1
1497 verbose npm  v6.14.13
1498 error Unexpected end of JSON input while parsing near '...----\r\n"}},"1.3.0":{'
1499 verbose exit [ 1, true ]

Steps to Reproduce

  1. Try to install on Atom
  2. Installation fails saying 1498 error Unexpected end of JSON input while parsing near '...----\r\n"}},"1.3.0":{'

Checklist

I have:

Solution

Delete .atom directory in your home.