Reputation: 2599
What´s the recommended way of debugging an npm install operation?
I have an exception being throw (similar to https://github.com/hyperform/hyperform/issues/63 or https://github.com/npm/npm/issues/17858) and would like to know how to debug the source code of it.
Upvotes: 30
Views: 36856
Reputation: 888
From NPM's wiki:
"If you are having trouble with npm install
, use the --verbose
option to have more details."
(Not to be confused with npm_debug=1
flag, which is only valid for debugging the process of installing NPM itself).
Upvotes: 41