cuth / unsplash-wallpaper

Use an image from unsplash.com as your background image from a simple command.
MIT License
266 stars 24 forks source link

not working on default ubuntu 16.10 install #16

Open niedakh opened 6 years ago

niedakh commented 6 years ago
niedakh@niedakh-Latitude-E6520:~$ unsplash-wallpaper 
/usr/local/lib/node_modules/unsplash-wallpaper/cli.js:6
const { boolOptions, minimistAliases, triggerDownload } = require('./lib/args');
      ^

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
niedakh@niedakh-Latitude-E6520:~$
cuth commented 6 years ago

Ah, looks like it comes with a pretty old version of Node. Could you try upgrading?