nodesource / nscm

The NodeSource Certified Modules command line utility

Home Page:https://nodesource.com/products/certified-modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node warning - process.on(SIGPROF) is reserved while debugging

pmuellr opened this issue · comments

Got this while running nscm with no args from a tmp directory with node 8.1.2

$ nscm
(node:35868) Warning: process.on(SIGPROF) is reserved while debugging
ENOENT: no such file or directory, open 'package.json'

A colleague suggests that this is caused by a pre-req shutdown handler which is binding to all the signals, but SIGPROF is no longer bindable in 8.1.2 - or something.

related issue in node - nodejs/node#12706

This is caused by an old version of signal-exit.

Here is where it is in the dep tree:

├─┬ nscm@1.5.0
│ ├─┬ args@2.3.0
│ │ ├── camelcase@4.0.0
│ │ ├── chalk@1.1.3 deduped
│ │ ├─┬ loud-rejection@1.3.0
│ │ │ ├── array-find-index@1.0.2
│ │ │ └── signal-exit@2.1.2

We want signal-exit 3.0+.

This should be fixed now, dependency updated.