NorthwindNode
NorthwindNode copied to clipboard
NodeJS 7.11 breaks Application on CentOS 7.3
1:) Epel install of Nodejs 6.11.1 is broken by removed http-parser package in Epel itself Can be reinstalled here : https://kojipkgs.fedoraproject.org/packages/http-parser/2.7.1/3.el7/x86_64/
2:) Using NodeJS 7.x breaks application server.js with:
js-bson: Failed to load c++ bson extension, using pure JS version
MEAN.JS application started on port 3000
Error: Error getting collection: sessions
at /home/aheumaier/NorthwindNode/node_modules/connect-mongo/lib/connect-mongo.js:160:19
at Db.collection (/home/aheumaier/NorthwindNode/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:526:27)
at MongoStore._get_collection (/home/aheumaier/NorthwindNode/node_modules/connect-mongo/lib/connect-mongo.js:158:17)
at MongoStore.get (/home/aheumaier/NorthwindNode/node_modules/connect-mongo/lib/connect-mongo.js:222:10)
at session (/home/aheumaier/NorthwindNode/node_modules/express-session/index.js:367:11)
at Layer.handle [as handle_request] (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/layer.js:82:5)
at trim_prefix (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:269:13)
at /home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:236:9
at Function.proto.process_params (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:311:12)
at /home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:227:12
at Function.match_layer (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:294:3)
at next (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:188:10)
at cookieParser (/home/aheumaier/NorthwindNode/node_modules/cookie-parser/index.js:48:5)
at Layer.handle [as handle_request] (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/layer.js:82:5)
at trim_prefix (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:269:13)
at /home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:236:9
GET / 500 65.983 ms - -
Error: Cannot determine state of server
at canCheckoutReader (/home/aheumaier/NorthwindNode/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:779:12)
at Server.checkoutReader (/home/aheumaier/NorthwindNode/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:793:16)
at Cursor.nextObject (/home/aheumaier/NorthwindNode/node_modules/mongoose/node_modules/mongodb/lib/mongodb/cursor.js:748:48)
at Collection.findOne (/home/aheumaier/NorthwindNode/node_modules/mongoose/node_modules/mongodb/lib/mongodb/collection/query.js:162:10)
at /home/aheumaier/NorthwindNode/node_modules/connect-mongo/lib/connect-mongo.js:223:18
at MongoStore._get_collection (/home/aheumaier/NorthwindNode/node_modules/connect-mongo/lib/connect-mongo.js:156:21)
at MongoStore.get (/home/aheumaier/NorthwindNode/node_modules/connect-mongo/lib/connect-mongo.js:222:10)
at session (/home/aheumaier/NorthwindNode/node_modules/express-session/index.js:367:11)
at Layer.handle [as handle_request] (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/layer.js:82:5)
at trim_prefix (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:269:13)
at /home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:236:9
at Function.proto.process_params (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:311:12)
at /home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:227:12
at Function.match_layer (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:294:3)
at next (/home/aheumaier/NorthwindNode/node_modules/express/lib/router/index.js:188:10)
at cookieParser (/home/aheumaier/NorthwindNode/node_modules/cookie-parser/index.js:48:5)
GET /modules/core/css/core.css 500 16.693 ms - -
Error: Cannot determine state of server
(...)