这里有没有人有“电子”在尾巴分发下工作?或者其他任何下载二进制文件?我尝试下载x64二进制文件 来自官方网站,但它不会执行它:
amnesia@amnesia:~/Desktop/temp$ ./electron --help
bash: ./electron: No such file or directory
我尝试将“bash”放在它前面,我也遇到了类似的错误:
amnesia@amnesia:~/Desktop/temp$ bash ./electron --help
./electron: ./electron: cannot execute binary file
然后我安装了npm并尝试从那里安装它,我收到以下错误:
electron@1.6.6 postinstall /usr/local/lib/node_modules/electron
node install.js
sh: 1: node: Permission denied
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! electron@1.6.6 postinstall: `node install.js`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the electron@1.6.6 postinstall script.
npm ERR! This is most likely a problem with the electron package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls electron
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.8.0-0.bpo.2-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "electron"
npm ERR! cwd /home/amnesia/Desktop/prog
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/amnesia/Desktop/prog/npm-debug.log
npm ERR! not ok code 0
amnesia@amnesia:~/Desktop/prog$
tails会以某种方式阻止下载的二进制文件执行吗?是 某些目录不允许执行文件?我很困惑。
我正在使用尾巴2.11
答案 0 :(得分:1)
通过下载二进制文件的“ia32”版本,我能够让电子在尾部工作。由于某些原因,电子x64二进制文件不起作用,即使我使用的是64位版本的尾部。