title: npm install -g bower on AWS Amazon ami getting error
body: <p>When I use the command: <code>npm install -g bower</code></p>
  
  <p>I get this error:</p>
  
  <pre><code>npm ERR! tar.unpack untar error /home/ec2-user/.npm/bower/1.3.12/package.tgz
  npm ERR! Linux 3.14.20-20.44.amzn1.x86_64
  npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "bower" "-F"
  npm ERR! node v0.10.34
  npm ERR! npm  v2.1.14
  npm ERR! path /usr/local/lib/node_modules/bower
  npm ERR! code EACCES
  npm ERR! errno 3
  
  npm ERR! Error: EACCES, mkdir '/usr/local/lib/node_modules/bower'
  npm ERR!  { [Error: EACCES, mkdir '/usr/local/lib/node_modules/bower']
  npm ERR!   errno: 3,
  npm ERR!   code: 'EACCES',
  npm ERR!   path: '/usr/local/lib/node_modules/bower',
  npm ERR!   fstream_type: 'Directory',
  npm ERR!   fstream_path: '/usr/local/lib/node_modules/bower',
  npm ERR!   fstream_class: 'DirWriter',
  npm ERR!   fstream_stack: 
  npm ERR!    [ '/usr/local/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js:36:23',
  npm ERR!      '/usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:46:53',
  npm ERR!      'Object.oncomplete (fs.js:108:15)' ] }
  npm ERR! 
  npm ERR! Please try running this command again as root/Administrator.
  
  npm ERR! Please include the following file with any support request:
  npm ERR!     /home/ec2-user/var/www/html/npm-debug.log
  </code></pre>