nodejs-legacy is already the newest version.
npm is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
npm ERR! error rolling back Error: Refusing to delete: /usr/local/bin/grunt not in /usr/local/lib/node_modules/grunt-cli
npm ERR! error rolling back at clobberFail (/usr/share/npm/lib/utils/gently-rm.js:57:12)
npm ERR! error rolling back at next (/usr/share/npm/lib/utils/gently-rm.js:43:14)
npm ERR! error rolling back at /usr/share/npm/lib/utils/gently-rm.js:52:12
npm ERR! error rolling back at Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! error rolling back grunt-cli@1.2.0 { [Error: Refusing to delete: /usr/local/bin/grunt not in /usr/local/lib/node_modules/grunt-cli] code: 'EEXIST', path: '/usr/local/bin/grunt' }
npm ERR! Refusing to delete: /usr/local/bin/grunt not in /usr/local/lib/node_modules/grunt-cli
File exists: /usr/local/bin/grunt
Move it away, and try again.
npm ERR! System Linux 2.6.32-042stab108.8
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "grunt" "grunt-cli" "bower"
npm ERR! cwd /usr/src/freeswitch.git/html5/verto/verto_communicator
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! path /usr/local/bin/grunt
npm ERR! code EEXIST
/usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt/bin/grunt
/usr/local/bin/bower -> /usr/local/lib/node_modules/bower/bin/bower
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/src/freeswitch.git/html5/verto/verto_communicator/npm-debug.log
npm ERR! not ok code 0
Running "clean:dist" (clean) task
>> 1 path cleaned.
Running "revision" task
HEAD at revision b12bbbc
Running "preprocess:js" (preprocess) task
Running "wiredep:app" (wiredep) task
Running "useminPrepare:html" (useminPrepare) task
Configuration changed for concat, uglify, cssmin
Running "concurrent:dist" (concurrent) task
Running "copy:styles" (copy) task
Copied 1 file
Done, without errors.
Execution Time (2017-05-11 12:55:48 UTC-4)
loading tasks 292ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 87%
loading grunt-contrib-copy 34ms ▇▇▇▇ 10%
copy:styles 8ms ▇ 2%
Total 335ms
Running "svgmin:dist" (svgmin) task
✔ src/images/browser-logos/firefox.svg (saved 223 B 0%)
Total saved: 223 B
Done, without errors.
Execution Time (2017-05-11 12:55:48 UTC-4)
loading tasks 489ms ▇▇▇▇▇▇▇▇▇▇▇▇ 28%
loading grunt-svgmin 405ms ▇▇▇▇▇▇▇▇▇▇ 23%
svgmin:dist 845ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 49%
Total 1.7s
Running "imagemin:dist" (imagemin) task
Minified 10 images (saved 0 B)
Done, without errors.
Execution Time (2017-05-11 12:55:48 UTC-4)
loading tasks 496ms ▇▇▇▇▇▇ 19%
loading grunt-contrib-imagemin 1.5s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 58%
imagemin:dist 589ms ▇▇▇▇▇▇▇ 23%
Total 2.6s
Running "postcss:dist" (postcss) task
>> 1 processed stylesheet created.
Running "concat:generated" (concat) task
File .tmp/concat/css/vendor.css created.
File .tmp/concat/css/verto.css created.
File .tmp/concat/scripts/vendor.js created.
File .tmp/concat/scripts/scripts.js created.
Running "cssmin:generated" (cssmin) task
>> 2 files created. 425.33 kB → 351.3 kB
Running "ngAnnotate:dist" (ngAnnotate) task
>> 2 files successfully generated.
Running "uglify:generated" (uglify) task
>> 2 sourcemaps created.
>> 2 files created.
Running "copy:dist" (copy) task
Copied 55 files
Running "filerev:dist" (filerev) task
Revved 15 files
Running "usemin:html" (usemin) task
Replaced 18 references to assets
Running "usemin:css" (usemin) task
Replaced 0 references to assets
Done, without errors.
Execution Time (2017-05-11 12:55:44 UTC-4)
loading tasks 2.7s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 11%
wiredep:app 813ms ▇▇▇▇▇ 3%
concurrent:dist 2.9s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 12%
loading grunt-postcss 269ms ▇▇ 1%
postcss:dist 320ms ▇▇ 1%
loading grunt-contrib-concat 243ms ▇▇ 1%
concat:generated 360ms ▇▇ 1%
loading grunt-contrib-cssmin 507ms ▇▇▇ 2%
cssmin:generated 1.4s ▇▇▇▇▇▇▇▇ 6%
ngAnnotate:dist 2.1s ▇▇▇▇▇▇▇▇▇▇▇ 9%
loading grunt-contrib-uglify 713ms ▇▇▇▇ 3%
uglify:generated 10.9s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 45%
Total 24.2s