输出错误:
var mongoose= require('mongoose');
var express = require('express');
var app = express();
var http = require('http');
var port = 3000;
var bodyParser= require('body-parser');
app.use(express.static('public'))
app.engine('html', require('ejs').renderFile);
app.set('view engine', 'html');
app.use(bodyParser.urlencoded({extended:true,limit:'50mb'}));
// app.use(bodyParser.json({ limit: '50mb' }));
// app.use(bodyParser.raw({ type: 'audio/wav',extended:true, limit: '50mb' }));
app.get('/',function(req,res){
res.render('home.html')
});
app.get('/recordings/new',function(req,res){
res.render('new.html')
});
app.post('/recordings',function(req,res){
var recording = req.body
console.log(req.body)
});
// app.get('/recordings',function(req,res){
// res.render('index.html')
// });
mongoose.connect("mongodb://localhost:27017/sensor",{ useNewUrlParser: true },function(){
console.log('database is connected');
});
app.listen(port, function(){
console.log('sensor server is running')
});
通过从源代码编译NervanaSystems/ngraph可以解决此错误吗?