Closed gregd72002 closed 6 years ago
Hey Greg,
Just wondering, is there any reason using such an old Node.js version?
I'm targeting to ES6, which was not completely supported years back in Node.js 4.*
this is the stable version released with Ubuntu 16.04 LTS. Which is the most current LTS Ubuntu version.
Nope. Node.js ver. 8 is current LTS. 4th is way too ooooold 👴 Hello from 2015th. Please check how to install an up-to-date Node on Ubuntu.
I am getting error when running sp-auth:
On a fresh system: npm --version 3.5.2
nodejs --version v4.2.6
npm install node-sp-auth-config -g [ALL GETS INSTALLED FINE]
sp-auth --help /usr/local/lib/node_modules/node-sp-auth-config/dist/cli.js:8 const { version } = require(path.join(__dirname, '..', 'package.json')); ^
SyntaxError: Unexpected token { 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 Function.Module.runMain (module.js:442:10) at startup (node.js:136:18) at node.js:966:3