0
我想連接到池模塊,但它沒有連接。 下面是我的代碼:無法連接到池模塊
var express = require('express')
, routes = require('./routes')
, signup = require('./routes/signup')
,login=require('./routes/login')
, http = require('http')
, path = require('path')
, cal=require('./routes/calculate')
, db = require('./routes/db')
,pool = require('./routes/pooling')
, ejs = require('ejs')
, moment = require('moment')
, mysql = require('mysql')
;
var app = express();
pool.connect();
pool.initializepool(10);
我得到以下錯誤:
找不到模塊./routes/pooling。
我想實現連接池。 有人可以幫我嗎?