From 2c57bd83cb380a6b1bb67a527424ab0cfbf07e2c Mon Sep 17 00:00:00 2001 From: Dmitry Gorelenkov Date: Thu, 12 Mar 2020 00:54:18 +0100 Subject: [PATCH] fix(web-server): since node 12 there is no util.puts see https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V12.md and https://github.com/nodejs/node/pull/25377 --- testapp/scripts/web-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testapp/scripts/web-server.js b/testapp/scripts/web-server.js index 7ded03d89..fceab822d 100755 --- a/testapp/scripts/web-server.js +++ b/testapp/scripts/web-server.js @@ -27,7 +27,7 @@ var main = function() { testApp.use(bodyParser.json()); testApp.use(testMiddleware); testApp.listen(port); - util.puts(["Starting express web server in", testAppDir ,"on port", port]. + console.log(["Starting express web server in", testAppDir ,"on port", port]. join(" ")); };