These are chat archives for Glavin001/atom-beautify

16th
Jun 2015
hellboy81
@hellboy81
Jun 16 2015 06:12
How can I format JSON content with plugin?
I have installed -> Right Click -> local menu -> Beautify editor content -> nothing
Is there working plugin with the same functionality as in Webstorm
?
ctz
@Chotaz
Jun 16 2015 09:30
$ sudo su - root                                                                                 
# apm install atom-beautify
Installing atom-beautify to /root/.atom/packages ✓
# su user
$ apm install atom-beautify
Installing atom-beautify to /home/user/.atom/packages ✗

npm ERR! tar.unpack error reading /tmp/d-115516-20542-3rae44/package.tgz
npm ERR! addLocal Could not install /tmp/d-115516-20542-3rae44/package.tgz
npm ERR! Linux 3.19.0-20-generic
npm ERR! argv "/usr/local/share/atom/resources/app/apm/bin/node" "/usr/local/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-115516-20542-3rae44/package.tgz" "--target=0.22.0" "--arch=x64"
npm ERR! node v0.10.35
npm ERR! npm  v2.5.1

npm ERR! 0-byte tarball
npm ERR! Please run `npm cache clean`
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-115516-20542-15ol5i4/npm-debug.log

$ apm -v
apm  0.163.0
npm  2.5.1
node 0.10.35
python 2.7.9
git 2.4.3
Just posting this for reference and historical value.
User root installs the package with no problem, however I can't seem to do so with my user, I'll dig more into user-side problems with NPM while I try to figure this out, will update with new findings.
Aaron Ballard
@ansballard
Jun 16 2015 14:10
@hellboy81 did you set the language of the file to JSON? Is it giving you an error?