Skip to content

examples - static on linux = Error: spawn node ENOENT #16

@patricksebastien

Description

@patricksebastien
[10:43:12] App ready.
/home/psc/Code/electronify-server/examples/static/src
[10:43:12] Command started. [PID: undefined]
PID: undefined
[10:43:12] Error: spawn node ENOENT
{ Error: spawn node ENOENT
    at exports._errnoException (util.js:1026:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:359:16)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)
  code: 'ENOENT',
  errno: 'ENOENT',
  syscall: 'spawn node',
  path: 'node',
  spawnargs: [ 'server.js' ] }
[10:43:12] Loading failed.
-102 'ERR_CONNECTION_REFUSED' 'http://127.0.0.1:8081/'
[10:43:12] Finished loading.
[10:43:14] All windows closed.
[10:43:14] Window closed.

But running node on the command line works:
node server.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions