我刚刚安装了最新的请求包,npm install request。在我的应用程序中,我设置了,NODE_DEBUG=request
所以现在出现语法错误:
node_modules/request/lib/debug.js
module.exports =
function debug () {
if (/\brequest\b/.test(process.env.NODE_DEBUG))
console.error('REQUEST %s', util.format.apply(util, arguments))
}
ReferenceError: util is not defined
对此有什么想法吗?什么是“实用程序”?