SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/home/nodejs/examples/serverinfo.js:1:82)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
And i install TS3-NodeJS-Library (npm install ts3-nodejs-library), I have:
npm ERR! Linux 4.4.0-137-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "ts3-nodejs-library"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ENOSELF
npm ERR! Refusing to install ts3-nodejs-library as a dependency of itself
When I start, a example script
And i install TS3-NodeJS-Library (npm install ts3-nodejs-library), I have: