Probably nothing but...
apm tried to install es6-symbols but the 2.0 versions package.json was corrupt (the first 16 bytes were wrong) so it failed. I assume downloads happen over TCP/IP and should therefore be immune to corruption in transit and, after deleting /home/user/.atom/.apm/es6-symbol/2.0.1 I reinstalled it and it worked fine so I assume the corruption must have happened my side. No idea if it's atom code, some 3rd party code or my os/hardware at fault - hopefully it's just a one-off - but I thought I'd mention just in case other people are seeing the same error.
Error message below...
$ apm install symbol-gen
Installing symbol-gen to /home/user/.atom/packages ✗
npm ERR! Failed to parse json
npm ERR! Unexpected token '\u0000' at 1:1
npm ERR! bol","version":"2.0.1","description":"ECMAScript6 Symbol polyfi
npm ERR! ^
npm ERR! File: /home/user/.atom/.apm/es6-symbol/2.0.1/package/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
Probably nothing but... apm tried to install es6-symbols but the 2.0 versions package.json was corrupt (the first 16 bytes were wrong) so it failed. I assume downloads happen over TCP/IP and should therefore be immune to corruption in transit and, after deleting /home/user/.atom/.apm/es6-symbol/2.0.1 I reinstalled it and it worked fine so I assume the corruption must have happened my side. No idea if it's atom code, some 3rd party code or my os/hardware at fault - hopefully it's just a one-off - but I thought I'd mention just in case other people are seeing the same error.
Error message below...
$ apm install symbol-gen Installing symbol-gen to /home/user/.atom/packages ✗
npm ERR! Linux 4.4.0-22-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/user/.atom/.apm/.apmrc" "--userconfig" "/home/user/.atom/.apmrc" "install" "/tmp/d-116420-18658-7pfgk2/package.tgz" "--target=0.36.8" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! file /home/user/.atom/.apm/es6-symbol/2.0.1/package/package.json
npm ERR! code EJSONPARSE
npm ERR! Failed to parse json
npm ERR! Unexpected token '\u0000' at 1:1
npm ERR! bol","version":"2.0.1","description":"ECMAScript6 Symbol polyfi
npm ERR! ^
npm ERR! File: /home/user/.atom/.apm/es6-symbol/2.0.1/package/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.