Fail to Install YnH 3.0

So problem is when Im trying install sudo yunohost app install https://github.com/YunoHost-Apps/peertube_ynh

Choose a domain name for PeerTube (default: tube.ziuri.me):
Choose an admin email (can be changed after installation): uglymug89@gmail.com
Is it a public application? [0 | 1] (default: 1):
Warning: Installation of N - Node.js version management
Warning: 2018-07-15 20:30:05 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> “n.tar.gz” [1]
######################################################################## 100.0%
Warning: Warning: apt-key output should not be parsed (stdout is not a terminal)
Extracting templates from packages: 100%
Warning: 2018-07-15 20:31:28 URL:https://github-production-release-asset-2e65be.s3.amazonaws.com/45213667/25a8261c-785b-11e8-96ac-61883a546a4a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180715%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180715T203127Z&X-Amz-Expires=300&X-Amz-Signature=2917da8a0672cd2460b87c4389d3f3a02af9cf68a33bbdf863a2cb2b38b925dc&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dpeertube-v1.0.0-beta.9.tar.xz&response-content-type=application%2Foctet-stream [1575288/1575288] -> “app.tar.xz” [1]
Warning: error /var/www/peertube/node_modules/rdf-canonize: Command failed.
Warning: Exit code: 1
Warning: Command: node-gyp rebuild
Warning: Arguments:
Warning: Directory: /var/www/peertube/node_modules/rdf-canonize
Warning: Output:
Warning: /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: gyp info it worked if it ends with ok
Warning: gyp info using node-gyp@3.6.2
Warning: gyp info using node@8.11.3 | linux | x64
Warning: gyp info spawn /usr/bin/python2
Warning: gyp info spawn args [ ‘/opt/node_n/n/versions/node/8.11.3/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py’,
Warning: gyp info spawn args ‘binding.gyp’,
Warning: gyp info spawn args ‘-f’,
Warning: gyp info spawn args ‘make’,
Warning: gyp info spawn args ‘-I’,
Warning: gyp info spawn args ‘/var/www/peertube/node_modules/rdf-canonize/build/config.gypi’,
Warning: gyp info spawn args ‘-I’,
Warning: gyp info spawn args ‘/opt/node_n/n/versions/node/8.11.3/lib/node_modules/npm/node_modules/node-gyp/addon.gypi’,
Warning: gyp info spawn args ‘-I’,
Warning: gyp info spawn args ‘/root/.node-gyp/8.11.3/include/node/common.gypi’,
Warning: gyp info spawn args ‘-Dlibrary=shared_library’,
Warning: gyp info spawn args ‘-Dvisibility=default’,
Warning: gyp info spawn args ‘-Dnode_root_dir=/root/.node-gyp/8.11.3’,
Warning: gyp info spawn args ‘-Dnode_gyp_dir=/opt/node_n/n/versions/node/8.11.3/lib/node_modules/npm/node_modules/node-gyp’,
Warning: gyp info spawn args ‘-Dnode_lib_file=/root/.node-gyp/8.11.3/<(target_arch)/node.lib’,
Warning: gyp info spawn args ‘-Dmodule_root_dir=/var/www/peertube/node_modules/rdf-canonize’,
Warning: gyp info spawn args ‘-Dnode_engine=v8’,
Warning: gyp info spawn args ‘–depth=.’,
Warning: gyp info spawn args ‘–no-parallel’,
Warning: gyp info spawn args ‘–generator-output’,
Warning: gyp info spawn args ‘build’,
Warning: gyp info spawn args ‘-Goutput_dir=.’ ]
Warning: /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: gyp: Call to ‘node -e “require(‘nan’)”’ returned exit status 0 while in binding.gyp. while trying to load binding.gyp
Warning: gyp ERR! configure error
Warning: gyp ERR! stack Error: gyp failed with exit code: 1
Warning: gyp ERR! stack at ChildProcess.onCpExit (/opt/node_n/n/versions/node/8.11.3/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
Warning: gyp ERR! stack at emitTwo (events.js:126:13)
Warning: gyp ERR! stack at ChildProcess.emit (events.js:214:7)
Warning: gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
Warning: gyp ERR! System Linux 4.9.0-7-amd64
Warning: gyp ERR! command “/opt/node_n/n/versions/node/8.11.3/bin/node” “/opt/node_n/n/versions/node/8.11.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
Warning: gyp ERR! cwd /var/www/peertube/node_modules/rdf-canonize
Warning: gyp ERR! node -v v8.11.3
Warning: gyp ERR! node-gyp -v v3.6.2
Warning: gyp ERR! not ok
Warning: !!
Warning: peertube’s script has encountered an error. Its execution was cancelled.
Warning: !!
Warning:

and more…