Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

"path.homedir is not a function" #32

Closed
craigeley opened this issue Nov 26, 2016 · 1 comment
Closed

"path.homedir is not a function" #32

craigeley opened this issue Nov 26, 2016 · 1 comment

Comments

@craigeley
Copy link
Contributor

I reinstall did a clean install of my system, but reinstalled everything I thought I needed for ellie to work. However, now I'm getting this error when running ellie init:

var configFilePath = path.homedir() + '/.elizabeth.json';
                          ^

TypeError: path.homedir is not a function

Any idea what could be happening?

@craigeley
Copy link
Contributor Author

craigeley commented Nov 26, 2016

The answer is that homedir has been deprecated in the newest version of path-extra. For whatever reason, I wasn't able to uninstall it for the lower version, so I hardcoded the path into that variable and removed the path-extra line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant