0

when trying to install atom-beautify package, i have the following error.

npm ERR! Unexpected end of JSON input while parsing near '...concat":"latest","@ty'

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\HP.atom.apm_logs\2021-02-14T07_09_54_821Z-debug.log

i made sure, the atom version is up to date, windows firewall is off, antivirus is off

pls help me to fix this issue. thanks.

2 Answers2

0

delete the .apm folder inside the .atom folder Thank you

  • 1
    Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Sep 26 '21 at 10:18
0

you might be wondering where the apm folder is you'll find it in the last options in the settings named open config folder with a link opening sign tap on it wait for another page to load,right there you would see different folders.look for the apm folder and delete it.restart your atom app and try installing the beauty package.hope it works for you