C9 problems on node server challenge

I followed the instructions on creating a workspace to the letter, when I input "npm install -g learnyounode i get the following:

    throw err;

Error: Cannot find module 'isarray'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/ubuntu/.nvm/versions/node/v6.11.2/lib/node_modules/npm/node_modules/readable-stream/lib/_stream_readable.js:32:15)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)

Anyone got any ideas?

Ok fixed it, for anyone else having the same problem upgrade node by running “nvm install 8” then you can install learnyounode and continue


Thanks @HansGrubername!

Update: This no longer works because module.js is no longer at lib/module.js. See the commit here.