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

NPM browser field not picked up on packager server running on Windows #9570

Closed
rozele opened this issue Aug 24, 2016 · 0 comments
Closed

NPM browser field not picked up on packager server running on Windows #9570

rozele opened this issue Aug 24, 2016 · 0 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@rozele
Copy link
Contributor

rozele commented Aug 24, 2016

The packager server uses browser versions of an NPM package when available (e.g., for uuid). On Windows, this replacement behavior is not working correctly. Here's a simple repro:

var uuid = require('uuid');

Do this in anywhere in your react-native app and it will fail to pick up the browser version of that package.

This is on Windows 10, react-native@0.31.0, node@6.2.1. Will confirm if still exists in 0.32.0-rc.0.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants