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

Uncaught TypeError: os.homedir is not a function #66

Open
webpack-bot opened this issue Aug 14, 2017 · 0 comments
Open

Uncaught TypeError: os.homedir is not a function #66

webpack-bot opened this issue Aug 14, 2017 · 0 comments

Comments

@webpack-bot
Copy link

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
After compiling a bundle with deps which use os.homedir function (for example is-reachable) i've got the error in the runtime: Uncaught TypeError: os.homedir is not a function
In the bundle os.homedir is undefined.

What is the expected behavior?
os.homedir shoud be a function

Please update os-browserify package to the latest version (0.3.0) to get support of os.homedir function in bundle.


This issue was moved from webpack/webpack#5512 by @sokra. Orginal issue was by @Deadly0.

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