workshopper / learnyounode

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

Permission denied #177

Open jasminmayfield opened 9 years ago

jasminmayfield commented 9 years ago

I'm receiving this error, any suggestions on how I can get around this? It pops when I try to select an exercise.

────────────────────────────────────
 MY FIRST I/O!
 Exercise 3 of 13

Error: EACCES, permission denied '/Users/jasmin.mayfield/.config/learnyounode/current.json'
    at Object.fs.openSync (fs.js:438:18)
    at Object.fs.writeFileSync (fs.js:977:15)
    at Workshopper.updateData (/usr/local/lib/node_modules/learnyounode/node_modules/workshopper/workshopper.js:414:6)
    at Workshopper.onselect (/usr/local/lib/node_modules/learnyounode/node_modules/workshopper/workshopper.js:522:8)
    at EventEmitter.emit (events.js:95:17)
    at process._tickCallback (node.js:419:13)
martinheidegger commented 9 years ago

@jasminmayfield can you move your ~/.config/learnyounode temporarily to another place and see if it works then?

ralphtheninja commented 9 years ago

@jasminmayfield Have you installed learnyounode with sudo?