当我输入 $ PORT=3000 MONGO_URL=mongodb://localhost:27017/myapp 节点 bundle/main.js
打开浏览器
出现此错误
path.js:360
throw new TypeError('Arguments to path.join must be strings');
^
TypeError: Arguments to path.join must be strings
at path.js:360:15
at Array.filter (native)
at exports.join (path.js:358:36)
at exports.send (/root/webapp/bundle/server/node_modules/connect/lib/middleware/static.js:129:20)
at pass (/root/webapp/bundle/server/node_modules/gzippo/lib/staticGzip.js:111:4)
at /root/webapp/bundle/server/node_modules/gzippo/lib/staticGzip.js:180:12
at Object.oncomplete (fs.js:93:15)