Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Error before even reaching login #24

Closed
TooVeryIcey opened this issue Aug 5, 2019 · 2 comments
Closed

Error before even reaching login #24

TooVeryIcey opened this issue Aug 5, 2019 · 2 comments

Comments

@TooVeryIcey
Copy link

When running npm start the following is displayed:

`> 2bored2wait@1.0.0 start C:\Users\Zachary 2VeryIcey\,Applications\2bored2wait-master\2bored2wait-master
> node main.js

events.js:180
      throw er; // Unhandled 'error' event
      ^

Error: spawn cmd ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:77:11)
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:77:11) {
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'spawn cmd',
  path: 'cmd',
  spawnargs: [ '/c', 'start', '""', '/b', 'http://localhost:80' ]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! 2bored2wait@1.0.0 start: `node main.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the 2bored2wait@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`
@themoonisacheese
Copy link
Owner

it would seem your computer has trouble opening a browser window automatically.
set openBrowserOnStart in config.json to false, and open a browser window manually to go to http://localhost .

@TooVeryIcey
Copy link
Author

it would seem your computer has trouble opening a browser window automatically.
set openBrowserOnStart in config.json to false, and open a browser window manually to go to http://localhost .

Okay, thank you!

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

No branches or pull requests

2 participants