我收到一个错误"TypeError: object不是一个函数“,下面的消息如下:require('./app/routes.js')(app,passport);TypeError: object is not a function
at Object_compile (module.js:456:26)
Error: E:\Node.js\edureka\Example\views\index.jade:3 at Object.exports.compile (E:\Node.js\edureka\Example\node_modules\jade\lib\index.js)
at Object.exports.renderFile (E:\Node.js</em
我认为prototype正在检查浏览器类型,但node.js当然不是浏览器。我得到以下错误:> require('.ReferenceError: navigator is not defined at Object_compile (node.js:462:23)
at Module._loadScriptSync (no