小编Jul*_* Z.的帖子

在 ubuntu 上构建电子应用程序失败并显示“权限被拒绝”

我尝试使用“ electron-builder ”模块在我的 ubuntu 系统上构建我的电子项目,但npm run dist总是输出这个错误:

> project@1.0.0 dist /home/user/GitRepos/project
> build

sh: 1: build: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! project@1.0.0 dist: `build`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the project@1.0.0 dist script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/user/.npm/_logs/2018-12-03T10_20_50_566Z-debug.log …
Run Code Online (Sandbox Code Playgroud)

ubuntu building electron

3
推荐指数
1
解决办法
2810
查看次数

标签 统计

building ×1

electron ×1

ubuntu ×1