I was trying to install “cottonballs” for a similar testing, however I see the following errors.
Do you have any insight as to what might be happening ? from the look of it, it feels like the Code is old and using some old functions which are deprecated ?
Appreciate if you could help
(node) sys is deprecated. Use util instead.
== CottonBalls v0.0.4. Puffy clouds for your GCM. ==
* Listening on port 7333.
2016-05-10T23:50:43.671Z - info: Starting with f:0 l:100 x:100 c:0
2016-05-10T23:50:43.681Z - error: uncaughtException: Most middleware (like bodyParser) is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware. date=Tue May 10 2016 23:50:43 GMT+0000 (UTC), pid=19239, uid=0, gid=0, cwd=/home/centos/cottonballs, execPath=/usr/bin/node, version=v4.4.4, argv=[/usr/bin/node, /home/centos/cottonballs/cottonballs], rss=28921856, heapTotal=18748000, heapUsed=12273864, loadavg=[0.0908203125, 0.22802734375, 0.20263671875], uptime=709, trace=[column=13, file=/home/centos/cottonballs/node_modules/express/lib/express.js, function=Function.Object.defineProperty.get, line=99, method=Object.defineProperty.get, native=false, column=18, file=/home/centos/cottonballs/cottonballs.js, function=, line=47, method=null, native=false, column=4, file=/home/centos/cottonballs/cottonballs.js, function=, line=136, method=null, native=false, column=26, file=module.js, function=Module._compile, line=409, method=_compile, native=false, column=10, file=module.js, function=Object.Module._extensions..js, line=416, method=Module._extensions..js, native=false, column=32, file=module.js, function=Module.load, line=343, method=load, native=false, column=12, file=module.js, function=Function.Module._load, line=300, method=Module._load, native=false, column=10, file=module.js, function=Function.Module.runMain, line=441, method=Module.runMain, native=false, column=18, file=node.js, function=startup, line=139, method=null, native=false, column=3, file=node.js, function=null, line=968, method=null, native=false], stack=[Error: Most middleware (like bodyParser) is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware., at Function.Object.defineProperty.get (/home/centos/cottonballs/node_modules/express/lib/express.js:99:13), at Object.<anonymous> (/home/centos/cottonballs/cottonballs.js:47:18), at Object.<anonymous> (/home/centos/cottonballs/cottonballs.js:136:4), at Module._compile (module.js:409:26), at Object.Module._extensions..js (module.js:416:10), at Module.load (module.js:343:32), at Function.Module._load (module.js:300:12), at Function.Module.runMain (module.js:441:10), at startup (node.js:139:18), at node.js:968:3]
[root@ip-172-31-41-50 cottonballs]#
I was trying to install “cottonballs” for a similar testing, however I see the following errors. Do you have any insight as to what might be happening ? from the look of it, it feels like the Code is old and using some old functions which are deprecated ?
Appreciate if you could help