You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Getting error "TypeError: path.existsSync is not a function" #53
I'm running latest cloudfiles version and nodejs version 7.2.1. When I run server, its giving below error:
exists = path.existsSync(p);
^
TypeError: path.existsSync is not a function
at mkdirPSync (/home/staging/1-ra/node_modules/cloudfiles/vendor/mkdirp.js:25:21)
at Object.common.statOrMkdirp (/home/staging/1-ra/node_modules/cloudfiles/lib/cloudfiles/common.js:53:16)
at new exports.Cloudfiles (/home/staging/1-ra/node_modules/cloudfiles/lib/cloudfiles/core.js:42:10)
at Object.exports.createClient (/home/staging/1-ra/node_modules/cloudfiles/lib/cloudfiles/core.js:26:10)
at Object.<anonymous> (/home/staging/1-ra/controllers/archiveController.js:27:26)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
Activity