Getting Preview error

Error: λ WARN props.pointerEvents is deprecated. Use style.pointerEvents

Error: λ WARN accessibilityRole is deprecated. Use role.

λ Bundled 61ms node_modules/expo-router/node/render.js (1 module)
λ Bundled 51ms node_modules/expo-router/node/render.js (1 module)
Web Bundled 66400ms node_modules/expo-router/entry.js (1 module)
Web Bundled 65847ms node_modules/expo-router/entry.js (1 module)
λ Bundled 75ms node_modules/expo-router/node/render.js (1 module)
Error: λ WARN props.pointerEvents is deprecated. Use style.pointerEvents

Error: λ WARN accessibilityRole is deprecated. Use role.

Error: λ WARN props.pointerEvents is deprecated. Use style.pointerEvents

Error: λ WARN accessibilityRole is deprecated. Use role.

Error: λ WARN props.pointerEvents is deprecated. Use style.pointerEvents

Error: λ WARN accessibilityRole is deprecated. Use role.

λ Bundled 69ms node_modules/expo-router/node/render.js (1 module)
Web Bundled 68908ms node_modules/expo-router/entry.js (1 module)
λ Bundled 55ms node_modules/expo-router/node/render.js (1 module)
Error: λ WARN props.pointerEvents is deprecated. Use style.pointerEvents

Error: λ WARN accessibilityRole is deprecated. Use role.

Web Bundled 69883ms node_modules/expo-router/entry.js (1 module)
λ Bundled 65ms node_modules/expo-router/node/render.js (1 module)
Error: λ WARN props.pointerEvents is deprecated. Use style.pointerEvents

Error: λ WARN accessibilityRole is deprecated. Use role.

Web Bundled 70190ms node_modules/expo-router/entry.js (1 module)
λ Bundled 911ms node_modules/expo-router/node/render.js (1 module)
Error: λ WARN props.pointerEvents is deprecated. Use style.pointerEvents

Error: λ WARN accessibilityRole is deprecated. Use role.

λ Bundled 36ms node_modules/expo-router/node/render.js (1 module)
Web Bundled 72426ms node_modules/expo-router/entry.js (1 module)
Error: λ WARN props.pointerEvents is deprecated. Use style.pointerEvents

Error: λ WARN accessibilityRole is deprecated. Use role.

Error: λ WARN props.pointerEvents is deprecated. Use style.pointerEvents

Error: λ WARN accessibilityRole is deprecated. Use role.

Web Bundled 75857ms node_modules/expo-router/entry.js (1 module)
Error: λ WARN props.pointerEvents is deprecated. Use style.pointerEvents

Error: λ WARN accessibilityRole is deprecated. Use role.

Web Bundled 76722ms node_modules/expo-router/entry.js (1 module)
Web Bundled 77422ms node_modules/expo-router/entry.js (1 module)
Error:
<— Last few GCs —>

[4420:0x3d0da80] 151332 ms: Mark-Compact 3979.4 (4140.0) → 3944.9 (4117.3) MB, 938.68 / 0.10 ms (average mu = 0.259, current mu = 0.141) allocation failure; GC in old space requested
[4420:0x3d0da80] 152769 ms: Mark-Compact 3983.6 (4143.0) → 3953.5 (4123.8) MB, 1006.13 / 0.01 ms (average mu = 0.281, current mu = 0.300) allocation failure; GC in old space requested

<— JS stacktrace —>

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

Error: 1: 0xbdd478 node::Abort() [node]
2: 0xaa33a9 [node]
3: 0xdfe2c0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]

Error: 4: 0xdfe694 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]

Error: 5: 0x1019d37 [node]

Error: 6: 0x1019dbb [node]

Error: 7: 0x102fb7d v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [node]

Error: 8: 0x1030670 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]

Error: 9: 0x100b722 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]

Error: 10: 0x100c884 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]

Error: 11: 0xfeba34 v8::internal::factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [node]

Error: 12: 0xfde433 v8::internal::FactoryBasev8::internal::Factory::NewRawTwoByteString(int, v8::internal::AllocationType) [node]

Error: 13: 0x1324965 v8::internal::String::SlowFlatten(v8::internal::Isolate*, v8::internal::Handlev8::internal::ConsString, v8::internal::AllocationType) [node]

Error: 14: 0x144b303 v8::internal::Runtime_RegExpReplaceRT(int, unsigned long*, v8::internal::Isolate*) [node]

Error: 15: 0x184eef6 [node]

✘ Preview shutdown unexpectedly

1 Like

What kind of a project are you creating?

React Native

I am not getting any preview for web as well as mobile view.