railsware / bozon

🛠 Command line tool for building, testing and publishing modern Electron applications
MIT License
758 stars 52 forks source link

Permissions issue #29

Closed mrpritchett closed 7 years ago

mrpritchett commented 7 years ago

On bozon start I get this:

[08:52:55] Using gulpfile ~/AnchorWP/public/anchor_wp/gulpfile.js
[08:52:55] Starting 'html'...
[08:52:55] Starting 'images'...
[08:52:55] Starting 'styles'...
[08:52:55] Starting 'scripts:main'...
[08:52:55] Starting 'scripts:renderer'...
[08:52:56] Finished 'images' after 337 ms
[08:52:56] 'html' errored after 391 ms
[08:52:56] Error: EACCES: permission denied, mkdir '/Users/matthewpritchett/AnchorWP/public/anchor_wp/builds'
    at Error (native)
[08:52:56] 'styles' errored after 379 ms
[08:52:56] Error: EACCES: permission denied, mkdir '/Users/matthewpritchett/AnchorWP/public/anchor_wp/builds'
    at Error (native)
[08:52:56] 'scripts:main' errored after 378 ms
[08:52:56] Error: EACCES: permission denied, mkdir '/Users/matthewpritchett/AnchorWP/public/anchor_wp/builds'
    at Error (native)
[08:52:56] Version: webpack 1.14.0
         Asset     Size  Chunks             Chunk Names
application.js  1.88 kB       0  [emitted]  main
[08:52:56] 'scripts:renderer' errored after 419 ms
[08:52:56] Error: EACCES: permission denied, mkdir '/Users/matthewpritchett/AnchorWP/public/anchor_wp/builds'
    at Error (native)
mrpritchett commented 7 years ago

Figured it out. Had to sudo in order to install things because of a weird setup on my machine. This caused all dir's to be owned by root. Changed owner and now it works great!