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

Add react-native support #499

Open
aaerofeev opened this issue Jun 1, 2017 · 2 comments
Open

Add react-native support #499

aaerofeev opened this issue Jun 1, 2017 · 2 comments

Comments

@aaerofeev
Copy link

Please add react-native support, I have a problem use "when" with react-native
I resolve error with "browser" key in package.json. When set key to false then works ok

@kschzt
Copy link

kschzt commented Jun 8, 2017

Transforming modules ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░ 94.2% (557/574)...(node:12233) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1056): UnableToResolveError: Unable to resolve module ../when from /Users/jak/Desktop/src/vizor2/packages/vizor-editor-core/node_modules/when/dist/browser/when.js: Directory /Users/jak/Desktop/src/vizor2/packages/

@kschzt
Copy link

kschzt commented Jun 8, 2017

it's just the paths are wrong in the dist/browser/when.js, off by one folder. changing all the '../' paths to '../../' seems to help, haven't got it all to work just yet though

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

2 participants