Starting fresh unable to initialize frappe bench - production rollup -c error - node.js version problem?

unable to create new frappe bench.
below is the npm-debug.log

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'production' ]
2 info using npm@3.10.10
3 info using node@v6.12.3
4 verbose run-script [ 'preproduction', 'production', 'postproduction' ]
5 info lifecycle frappe@~preproduction: frappe@
6 silly lifecycle frappe@~preproduction: no script for preproduction, continuing
7 info lifecycle frappe@~production: frappe@
8 verbose lifecycle frappe@~production: unsafe-perm in lifecycle true
9 verbose lifecycle frappe@~production: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/home/serveru/frappe/frappe-bench/apps/frappe/node_modules/.bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/serveru/.local/bin:/home/serveru/bin
10 verbose lifecycle frappe@~production: CWD: /home/serveru/frappe/frappe-bench/apps/frappe
11 silly lifecycle frappe@~production: Args: [ '-c', 'FRAPPE_ENV=production rollup -c' ]
12 silly lifecycle frappe@~production: Returned: code: 1  signal: null
13 info lifecycle frappe@~production: Failed to exec production script
14 verbose stack Error: frappe@ production: `FRAPPE_ENV=production rollup -c`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:920:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
15 verbose pkgid frappe@
16 verbose cwd /home/serveru/frappe/frappe-bench/apps/frappe
17 error Linux 3.10.0-693.17.1.el7.x86_64
18 error argv "/usr/bin/node" "/usr/bin/npm" "run" "production"
19 error node v6.12.3
20 error npm  v3.10.10
21 error code ELIFECYCLE
22 error frappe@ production: `FRAPPE_ENV=production rollup -c`
22 error Exit status 1
23 error Failed at the frappe@ production script 'FRAPPE_ENV=production rollup -c'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the frappe package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     FRAPPE_ENV=production rollup -c
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs frappe
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls frappe
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

this issue did not came up earlier i guess 2-3 days back i guess there is a recent commit.

Your issue seems to match this, that continues unresolved 22.02 yarn errors on build in develop branch?