[ad_1]
I’m making an attempt to run the next command to generate major.jsbundle file for ios in my react native software.
npx react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/major.jsbundle --assets-dest ios
Nonetheless, I get the next error after operating this command.
remodel[stderr]: Browserslist: caniuse-lite is outdated. Please run:
remodel[stderr]: npx browserslist@newest --update-db
remodel[stderr]: Why you need to do it usually: https://github.com/browserslist/browserslist#browsers-data-updating
remodel[stderr]:
remodel[stderr]: <--- Previous few GCs --->
remodel[stderr]:
remodel[stderr]: [22494:0x7fa4a1200000] 125578 ms: Mark-sweep 2009.3 (2103.3) -> 1958.8 (2074.2) MB, 3093.6 / 0.0 ms (common mu = 0.211,
sumanbhattarai@Sumans-MacBook-Professional dapprn % npx react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/major.jsbundle --assets-dest ios
warn Package deal eslint-plugin-functional has been ignored as a result of it incorporates invalid configuration. Motive: Package deal subpath './package deal.json' just isn't outlined by "exports" in /Customers/sumanbhattarai/Desktop/dapprn/node_modules/eslint-plugin-functional/package deal.json
(node:22761) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" within the "exports" subject module decision of the package deal at /Customers/sumanbhattarai/Desktop/dapprn/node_modules/chai/package deal.json.
Replace this package deal.json to make use of a subpath sample like "./*".
(Use `node --trace-deprecation ...` to point out the place the warning was created)
Welcome to React Native!
Study as soon as, write wherever
remodel[stderr]: Browserslist: caniuse-lite is outdated. Please run:
remodel[stderr]: npx browserslist@newest --update-db
remodel[stderr]: Why you need to do it usually: https://github.com/browserslist/browserslist#browsers-data-updating
remodel[stderr]:
remodel[stderr]: <--- Previous few GCs --->
remodel[stderr]:
remodel[stderr]: [22775:0x7fe6e7000000] 150763 ms: Mark-sweep (cut back) 2009.0 (2081.2) -> 2006.7 (2080.0) MB, 3225.6 / 0.0 ms (common mu = 0.074, present mu = 0.004) allocation failure scavenge won't succeed
remodel[stderr]: [22775:0x7fe6e7000000] 150770 ms: Scavenge (cut back) 2007.8 (2080.0) -> 2007.7 (2081.0) MB, 3.2 / 0.0 ms (common mu = 0.074, present mu = 0.004) allocation failure
remodel[stderr]:
remodel[stderr]:
remodel[stderr]: <--- JS stacktrace --->
remodel[stderr]:
remodel[stderr]: FATAL ERROR: Ineffective mark-compacts close to heap restrict Allocation failed - JavaScript heap out of reminiscence
remodel[stderr]: 1: 0x10f77f6a2 node::Abort() [/usr/local/Cellar/node/16.5.0/bin/node]
remodel[stderr]: 2: 0x10f77f81d node::OnFatalError(char const*, char const*) [/usr/local/Cellar/node/16.5.0/bin/node]
remodel[stderr]: 3: 0x10f8bc0f1 v8::Utils::ReportOOMFailure(v8::inside::Isolate*, char const*, bool) [/usr/local/Cellar/node/16.5.0/bin/node]
remodel[stderr]: 4: 0x10f8bc09b v8::inside::V8::FatalProcessOutOfMemory(v8::inside::Isolate*, char const*, bool) [/usr/local/Cellar/node/16.5.0/bin/node]
remodel[stderr]: 5: 0x10fa0b0e5 v8::inside::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/Cellar/node/16.5.0/bin/node]
remodel[stderr]: 6: 0x10fa0dcda v8::inside::Heap::MarkCompactPrologue() [/usr/local/Cellar/node/16.5.0/bin/node]
remodel[stderr]: 7: 0x10fa0b77a v8::inside::Heap::PerformGarbageCollection(v8::inside::GarbageCollector, v8::GCCallbackFlags) [/usr/local/Cellar/node/16.5.0/bin/node]
remodel[stderr]: 8: 0x10fa09b71 v8::inside::Heap::CollectGarbage(v8::inside::AllocationSpace, v8::inside::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/Cellar/node/16.5.0/bin/node]
remodel[stderr]: 9: 0x10fa12616 v8::inside::Heap::AllocateRawWithLightRetrySlowPath(int, v8::inside::AllocationType, v8::inside::AllocationOrigin, v8::inside::AllocationAlignment) [/usr/local/Cellar/node/16.5.0/bin/node]
remodel[stderr]: 10: 0x10fa12672 v8::inside::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::inside::AllocationType, v8::inside::AllocationOrigin, v8::inside::AllocationAlignment) [/usr/local/Cellar/node/16.5.0/bin/node]
remodel[stderr]: 11: 0x10f9f2003 v8::inside::Manufacturing facility::NewFillerObject(int, bool, v8::inside::AllocationType, v8::inside::AllocationOrigin) [/usr/local/Cellar/node/16.5.0/bin/node]
remodel[stderr]: 12: 0x10fc86336 v8::inside::Runtime_AllocateInYoungGeneration(int, unsigned lengthy*, v8::inside::Isolate*) [/usr/local/Cellar/node/16.5.0/bin/node]
remodel[stderr]: 13: 0x10ff42b99 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/usr/local/Cellar/node/16.5.0/bin/node]
I attempted each answer discovered on the web to generate major.jsbundle file however nonetheless I’m not having the ability to clear up the problem.
[ad_2]
