react-native-xmpp
react-native-xmpp copied to clipboard
[android] run the example err
D:\hazerWork\lib\react-native-xmpp\XmppDemo>npm start
[email protected] 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] <START> Building Dependency Graph [11:55:53] <START> Crawling File System [Hot Module Replacement] Server listening on /hot
React packager ready.
[11:56:06] <START> request:/index.android.bundle?platform=android&dev=true&hot=false&minify=false [11:56:06] <START> 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 <JS Object> 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
Did you npm install ?
i am use 'cnpm install' not err,
Which version of node are you running? You can check by running node -v
The version number is "v4.5.0"