aksonov / react-native-xmpp

XMPP library for React Native (iOS and Android native support)
BSD 2-Clause "Simplified" License
308 stars 98 forks source link

[android] run the example err #39

Open mynane opened 8 years ago

mynane commented 8 years ago

D:\hazerWork\lib\react-native-xmpp\XmppDemo>npm start

XmppDemo@0.0.1 start D:\hazerWork\lib\react-native-xmpp\XmppDemo node node_modules/react-native/local-cli/cli.js start

┌────────────────────────────────────────────────────────── ──────────────────┐ │ Running packager on port 8081. │ │ │ │ Keep this packager running while developing on any JS projects. Feel │ │ free to close this tab and run your own packager instance if you │ │ prefer. │ │ │ │ https://github.com/facebook/react-native │ │ │ └────────────────────────────────────────────────────────── ──────────────────┘ Looking for JS files in D:\hazerWork\lib\react-native-xmpp\XmppDemo\node_modules.0.30.0@react-native

[11:55:52] Building Dependency Graph [11:55:53] Crawling File System [Hot Module Replacement] Server listening on /hot

React packager ready.

[11:56:06] request:/index.android.bundle?platform=android&dev=true&hot=false&minify=false [11:56:06] find dependencies

<--- Last few GCs --->

257806 ms: Scavenge 1392.3 (1457.6) -> 1392.3 (1457.6) MB, 6.6 / 0 ms (+ 1.0 ms in 1 steps since last GC) [allocation failure] [incremental marking delaying mark-sweep]. 258471 ms: Mark-sweep 1392.3 (1457.6) -> 1391.1 (1457.6) MB, 665.9 / 0 ms (+ 137.0 ms in 1440 steps since start of marking, biggest step 7.0 ms) [last resort gc]. 259136 ms: Mark-sweep 1391.1 (1457.6) -> 1390.8 (1457.6) MB, 664.2 / 0 ms [last resort gc].

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0000033CA02B4639 1: indexOf(aka indexOf) [native string.js:~76] [pc=0000002DF57A95CD] (this=00000135D9CEDA41 <String[308]: D:\hazerWork\lib\react-native-xmpp\XmppDemo\node_modules.0.30.0@react-native\node_modules\babel-preset-react-native\node_modules\babel-plugin-transform-regenerator\node_modules\babel-core\node_modules\babel-helpers\node_modules\babel-template\node_modules\babel-traverse\node_modules...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

Froelund commented 8 years ago

Did you npm install ?

mynane commented 8 years ago

i am use 'cnpm install' not err,

Froelund commented 8 years ago

Which version of node are you running? You can check by running node -v

mynane commented 8 years ago

The version number is "v4.5.0"