Code Food Travel repeat!

How to Install Bower Without Error Permissions on Mac OSX

If you’re a talented web design coder yet retarded when it comes to any technical installation snafoos like me, this guide will help you make it to the finish line alive in one piece.

Problem: in trying to install bower or run grunt, I got ‘EACCES permission denied’ error permissions & bower_components + it’s subfolders were completely missing. I need Bower to work because I’m setting up a development environment for Shopify to customize a theme.

Solution: Alright, open your Command line tool:

  1. Install ruby gems:
    sudo ruby setup.rb
  2. Make sure it’s updated:
    sudo gem update --system
  3. Install bundler:
    gem install bundler
  4. Go to directory of the Shopify ruby gem, and type:
sudo gem install shopify_theme
  1. (done with: github.com/Shopify/shopify_theme)
  2. (now follow: github.com/luciddesign/bootstrapify)
  3. Install Grunt if you don’t have it:
    sudo npm install -g grunt-cli
  4. Install Bower if you don’t have it:
    sudo npm install -g bower
  5. If that returns errors, try this KEY SOLUTION:
    sudo bower install --allow-root
  6. If successful, you can now compile. Type:
    grunt
  7. If you get an error that the folder “bootstrap-sass-official” cannot be found, rename the folder “bootstrap-sass” -> “bootstrap-sass-official” and try grunt again! 
  8. This is where it worked for me!

About Steven Chu


Hi, I'm Steven! I'm an entrepreneur, photographer and art director in New York. Follow this blog for self expression, fun, and most importantly: looking comfortable, at ease, and amazing in your photos no matter who takes them! I dedicate this to my amazing friends who have let me inadvertently turn all of our hangouts and travel photos into a never ending photoshoot of fun. The proof is in the pudding-- our photos rock. My other projects: I'm the founder of InstaTechie.com, a face-to-face tech concierge service for NYC. Book a techie to walk you through something you want to learn! My work focuses on socially engaged art projects which use technology to create access to resources for communities. Visit Steven Chu Studio (stevenchustudio.com) for branding & design work or Steven Chu (stevenchu.com) for photography projects.

Leave a Reply

%d bloggers like this:
Read previous post:
Google Hangouts Not Working in Chrome May 2015

Whether you're on PC or MAC OSX, you may have noticed that Google Voice keeps telling you to: "please download...

Close