Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant