this code npm.on("log", function (message) { .... })
no console . is npmjs example
#2543
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 7.x
work is associated with a specific npm 7 release
var npm = require("npm") npm.load(myConfigObject, function (er) { if (er) return handlError(er) npm.commands.install(["some", "args"], function (er, data) { if (er) return commandFailed(er) // command succeeded, and data might have some info }) npm.on("log", function (message) { .... }) })
this code
npm.on("log", function (message) { .... })
no console .The text was updated successfully, but these errors were encountered: