电子应用程序错误:EACCES:权限被拒绝,打开

时间:2017-10-30 17:29:28

标签: npm gulp console electron tray

[20:25:45] Using gulpfile ~/Desktop/GitHub/electra/gulpfile.js
[20:25:45] Starting 'build-client-bundles'...
[20:25:45] Starting 'build-client-scss'...
[20:25:45] Starting 'build-client-html'...
[20:25:45] Starting 'build-client-assets'...
[20:25:45] Starting 'build-server'...
[20:25:45] Starting 'watch-client'...
[20:25:45] Finished 'watch-client' after 16 ms
[20:25:45] Starting 'watch-server'...
[20:25:45] Finished 'watch-server' after 1.58 ms
[20:25:45] Starting 'watch'...
[20:25:45] Finished 'watch' after 13 μs
./app/assets/assignment.png
stream.js:74
      throw er; // Unhandled stream error in pipe.
      ^

Error: EACCES: permission denied, open '/Users/ugrerdl/Desktop/GitHub/electra/build/index.js'
    at Error (native)

当我尝试运行我的应用时出现此错误。顺便说一句:如果我尝试sudo每一个想法工作。

0 个答案:

没有答案