Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装完git和node之后进行npm start 报错,报错如下 #71

Open
opencao opened this issue Apr 30, 2019 · 4 comments
Open

安装完git和node之后进行npm start 报错,报错如下 #71

opencao opened this issue Apr 30, 2019 · 4 comments

Comments

@opencao
Copy link

opencao commented Apr 30, 2019

11:37 $ npm start

HexoEditor@1.5.30 start /home/opencao/software/HexoEditor/HexoEditor
electron .

sh: 1: electron: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! HexoEditor@1.5.30 start: electron .
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the HexoEditor@1.5.30 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! /home/opencao/software/nodejs/npm_cache/_logs/2019-04-30T03_38_00_336Z-debug.log

@YuzukiTsuru
Copy link

npm install electron

@opencao
Copy link
Author

opencao commented May 28, 2019

thank you .
now ,i have other question.
Failed to load module "canberra-gtk-module"

@YuzukiTsuru
Copy link

sudo apt-get install libcanberra-gtk-module

@mtcz91
Copy link

mtcz91 commented Mar 14, 2020

你好,在将hexoeditor部署到服务器后如何启动呢?我执行npm start报错,显示(electron:26124): Gtk-WARNING **: 10:09:41.534: cannot open display:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants