Giter Site home page Giter Site logo

centos npm start 报错 about hexoeditor HOT 5 OPEN

zhuzhuyule avatar zhuzhuyule commented on May 18, 2024
centos npm start 报错

from hexoeditor.

Comments (5)

zhuzhuyule avatar zhuzhuyule commented on May 18, 2024

what happened? Is it starting or editing? wait for a repeat.

from hexoeditor.

leonlyu1996 avatar leonlyu1996 commented on May 18, 2024

same problem when I execute npm start

[email protected] start /opt/HexoEditor
> electron .


npm ERR! Linux 3.10.0-327.36.3.el7.x86_64
npm ERR! argv "/usr/local/nodejs/bin/node" "/bin/npm" "start"
npm ERR! node v6.8.0
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `electron .`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script 'electron .'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the HexoEditor package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     electron .
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs HexoEditor
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls HexoEditor
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /opt/HexoEditor/npm-debug.log

from hexoeditor.

leonlyu1996 avatar leonlyu1996 commented on May 18, 2024

Here's the log:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/nodejs/bin/node', '/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]~prestart: [email protected]
6 silly lifecycle [email protected]~prestart: no script for prestart, continuing
7 info lifecycle [email protected]~start: [email protected]
8 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~start: PATH: /usr/local/nodejs/lib/node_modules/npm/bin/node-gyp-bin:/opt/HexoEditor/node_modules/.bin:/usr/local/nodejs/bin:/sbin:
/bin:/usr/sbin:/usr/bin
10 verbose lifecycle [email protected]~start: CWD: /opt/HexoEditor
11 silly lifecycle [email protected]~start: Args: [ '-c', 'electron .' ]
12 silly lifecycle [email protected]~start: Returned: code: 1  signal: null
13 info lifecycle [email protected]~start: Failed to exec start script
14 verbose stack Error: [email protected] start: `electron .`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/usr/local/nodejs/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess.<anonymous> (/usr/local/nodejs/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:877:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid [email protected]
16 verbose cwd /opt/HexoEditor
17 error Linux 3.10.0-327.36.3.el7.x86_64
18 error argv "/usr/local/nodejs/bin/node" "/bin/npm" "start"
19 error node v6.8.0
20 error npm  v3.10.8
21 error code ELIFECYCLE
22 error [email protected] start: `electron .`
22 error Exit status 1
23 error Failed at the [email protected] start script 'electron .'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the HexoEditor package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     electron .
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs HexoEditor
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls HexoEditor
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

from hexoeditor.

fydy avatar fydy commented on May 18, 2024

@zhuzhuyule npm start ,These errors have occurred。

from hexoeditor.

Johnsonzcode avatar Johnsonzcode commented on May 18, 2024

@zhuzhuyule same question, same info, and same log.
More detial:
I am using linuxdeploy(arm64, ubuntu18.04, android 6.0), but many xxx.so.x have been installed as long as it needs.

It seems electron can't start: electron .

from hexoeditor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.