-
Notifications
You must be signed in to change notification settings - Fork 101
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
Can't resolve os
in file [index.js]
#54
Comments
os
in file index.jsos
in file [index.js]
@shengshiqi Can you provide some more information around how you are trying to use |
node version: 7.6.0, package bundlers: FIS, TERMINAL print [WARNI] Can't resolve |
Getting this as well in an Angular project. v6 workaround: installed |
Looks like I need to perform a better "is node" check. Currently the test is:
Which seems to be firing false positives in particular environments (Angular v6 being one example). Alternatively, perhaps I should consider removing the ability to detect if the code is running on the server at all. I doubt it's being used by many people and as long as it's done in a major version bump that should be acceptable. I'd prefer that you don't have to add a workaround like adding |
I have the same issue |
@DamonOehlman do you think you can release a major version bump for this this month? Thanks! |
Done :) |
Thanks! |
Closing as inactive. |
…mponentUpdate methods (DamonOehlman#54) * Remove the unused variable lastIsDark * Use React.PureComponent instead of custom shouldComponentUpdate methods
in line 73, required module
os
, but not found in package.json.The text was updated successfully, but these errors were encountered: