I am trying to master the node on this screencast
ar nconf = require('nconf'); nconf.argv() .env() .file({ file: path.join(__dirname,'config.json' )}); module.exports=nconf;
the console gives this error
/var/www/html/chatnode/config/index.js:4 .file({ file: path.join(__dirname,'config.json' )}); ^ ReferenceError: path is not defined at Object.<anonymous> (/var/www/html/chatnode/config/index.js:4:19) at Module._compile (module.js:410:26) 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 Module.require (module.js:354:17) at require (internal/module.js:12:17) at Object.<anonymous> (/var/www/html/chatnode/app.js:4:12) at Module._compile (module.js:410:26) at Object.Module._extensions..js (module.js:417:10)
Please explain the essence (express set the version in the screencast)