Thanks to visit codestin.com
Credit goes to github.com

Skip to content

crashes when npm updated package.json when installing dependencies #50

@catdad

Description

@catdad

Steps:

  • use an app that watched package.json (for the main thread)
  • npm install -S <any package>

See crash when npm updates package.json:

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

Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed
    at ChildProcess.target.send (internal/child_process.js:628:16)
    at EventEmitter.watcher.on (D:\Git\all-compare\node_modules\electronmon\src\electronmon.js:177:21)
    at EventEmitter.emit (events.js:182:13)
    at stat.then.stat (D:\Git\all-compare\node_modules\watchboy\index.js:196:28)
Emitted 'error' event at:
    at process.nextTick (internal/child_process.js:632:35)
    at process._tickCallback (internal/process/next_tick.js:61:11)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions