workshopper / learnyounode

Learn You The Node.js For Much Win! An intro to Node.js via a set of self-guided workshops.
Other
7.24k stars 1.84k forks source link

Can't run learnyounode on macOS mojave #650

Closed mersahin closed 5 years ago

mersahin commented 5 years ago

$ learnyounode

/Users/username/.npm-global/lib/node_modules/learnyounode/node_modules/workshopper-adventure/node_modules/commandico/node_modules/joi/lib/index.js:39 return schema._init(...args); ^^^

SyntaxError: Unexpected token ... at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:414:25) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Module.require (module.js:366:17) at require (module.js:385:17) at Object. (/Users/username/.npm-global/lib/node_modules/learnyounode/node_modules/workshopper-adventure/node_modules/commandico/node_modules/explicit/lib/validate/index.js:3:11) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) image

fru123sa commented 5 years ago

i'm getting this same error on ubuntu.

mersahin commented 5 years ago

@fru123sa i'm fixed; i've a very old nodeJs nodejs update, solved.