Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Getting error "TypeError: path.existsSync is not a function" #53

Open
arslana11 opened this issue Mar 27, 2018 · 0 comments
Open

Getting error "TypeError: path.existsSync is not a function" #53

arslana11 opened this issue Mar 27, 2018 · 0 comments

Comments

@arslana11
Copy link

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)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant