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

Missing modules in react-native packager #4

Closed
ghost opened this issue Nov 27, 2015 · 2 comments
Closed

Missing modules in react-native packager #4

ghost opened this issue Nov 27, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 27, 2015

This is piece of react-native start output:

[1:57:09 PM] <START> request:/index.android.map?platform=android&dev=true
[1:57:09 PM] <START> find dependencies
Unable to resolve module Map from D:\Herby\Work\foo\bar\node_modules\react-native-gcm-android\index.android.js
Unable to resolve module invariant from D:\Herby\Work\foo\bar\node_modules\react-native-gcm-android\index.android.js
[1:57:09 PM] <END>   find dependencies (318ms)
[1:57:09 PM] <START> transform
transforming [========================================] 100% 417/418

after which the package is stuck.

I see you do require('Map') and require('invariant') in index.android.js, but there is no trace of them in package.json...

@oney
Copy link
Owner

oney commented Nov 27, 2015

It seems that requiring JS from React Native core doesn't work after 0.14.0. I am not familiar with Node.js require system, if I am wrong, please correct me.
Now I publish 0.0.4 version of react-native-gcm-android, please try testing whether it works.

@oney
Copy link
Owner

oney commented Nov 28, 2015

The bug was fixed. I close this issue now. If having any problem, be free to reopen it.

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