title: EACCES: permission denied, open
body: <pre><code>bower EACCES        EACCES: permission denied, open '/home/caner/.cache/bower/packages/e5ec1b46386aa59c822f27e340f7ab5b-1.5.8.lock'
  
  Stack trace:
  Error: EACCES: permission denied, open '/home/caner/.cache/bower/packages/e5ec1b46386aa59c822f27e340f7ab5b-1.5.8.lock'
      at Error (native)
  
  Console trace:
  Error
      at StandardRenderer.error (/home/caner/.npm-global/lib/node_modules/bower/lib/renderers/StandardRenderer.js:81:37)
      at Logger.&lt;anonymous&gt; (/home/caner/.npm-global/lib/node_modules/bower/lib/bin/bower.js:110:26)
      at emitOne (events.js:90:13)
      at Logger.emit (events.js:182:7)
      at Logger.emit (/home/caner/.npm-global/lib/node_modules/bower/lib/node_modules/bower-logger/lib/Logger.js:29:39)
      at /home/caner/.npm-global/lib/node_modules/bower/lib/commands/index.js:48:20
      at _rejected (/home/caner/.npm-global/lib/node_modules/bower/lib/node_modules/q/q.js:844:24)
      at /home/caner/.npm-global/lib/node_modules/bower/lib/node_modules/q/q.js:870:30
      at Promise.when (/home/caner/.npm-global/lib/node_modules/bower/lib/node_modules/q/q.js:1122:31)
      at Promise.promise.promiseDispatch (/home/caner/.npm-global/lib/node_modules/bower/lib/node_modules/q/q.js:788:41)
  System info:
  Bower version: 1.7.9
  Node version: 5.12.0
  OS: Linux 4.4.0-38-generic x64
  </code></pre>
  
  <p>i got this error when i try to install bower with</p>
  
  <pre><code>bower pdate
  </code></pre>
  
  <p>i tried lots of things.</p>
  
  <p>bower init
  chown</p>
  
  <p>but did not work</p>
  
  <p>i first installed npm then try to install bower.</p>
  
  <p>i did most of those</p>
  
  <p><a href="https://www.google.com.tr/search?q=Error%3A+EACCES%3A+permission+denied%2C+open+%27%2F%2Fbower-github.json%27&amp;oq=Error%3A+EACCES%3A+permission+denied%2C+open+%27%2F%2Fbower-github.json%27&amp;aqs=chrome..69i57j69i58.3505j0j4&amp;sourceid=chrome&amp;ie=UTF-8" rel="nofollow">https://www.google.com.tr/search?q=Error%3A+EACCES%3A+permission+denied%2C+open+%27%2F%2Fbower-github.json%27&amp;oq=Error%3A+EACCES%3A+permission+denied%2C+open+%27%2F%2Fbower-github.json%27&amp;aqs=chrome..69i57j69i58.3505j0j4&amp;sourceid=chrome&amp;ie=UTF-8</a></p>
  
  <p>but not working.</p>
  
  <p>what can be reason?</p>
  
  <p>what i want to do is</p>
  
  <pre><code>   npm install
  npm install -g bower (no need if you have installed bower)
  bower install
  bower prune
  bower update
  npm install -g gulp (no need if you have installed gulp)
  gulp install
  </code></pre>
  
  <p>in a project directory</p>