You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
plugin 'taro:vite-h5-config' uses deprecated 'enforce' option. Use 'order' option instead.
plugin 'taro:vite-h5-config' uses deprecated 'transform' option. Use 'handler' option instead.
<--- Last few GCs --->
[43640:0x7fabe0008000] 38075 ms: Mark-Compact 3978.5 (4138.2) -> 3965.5 (4141.2) MB, 1719.17 / 0.00 ms (average mu = 0.180, current mu = 0.008) allocation failure; scavenge might not succeed
[43640:0x7fabe0008000] 41102 ms: Mark-Compact 3981.8 (4141.2) -> 3968.8 (4144.2) MB, 2993.26 / 0.00 ms (average mu = 0.077, current mu = 0.011) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
相关平台
H5
浏览器版本: Chrome
使用框架: React
复现步骤
初始化 beta 版,启动 h5
期望结果
正常启动
实际结果
不能正常启动。报错如下
👽 Taro v4.0.0-beta.108
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
plugin 'taro:vite-h5-config' uses deprecated 'enforce' option. Use 'order' option instead.
plugin 'taro:vite-h5-config' uses deprecated 'transform' option. Use 'handler' option instead.
<--- Last few GCs --->
[43640:0x7fabe0008000] 38075 ms: Mark-Compact 3978.5 (4138.2) -> 3965.5 (4141.2) MB, 1719.17 / 0.00 ms (average mu = 0.180, current mu = 0.008) allocation failure; scavenge might not succeed
[43640:0x7fabe0008000] 41102 ms: Mark-Compact 3981.8 (4141.2) -> 3968.8 (4144.2) MB, 2993.26 / 0.00 ms (average mu = 0.077, current mu = 0.011) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0x10ae42c80 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/Users/william/.nvm/versions/node/v20.13.1/bin/node]
2: 0x10aff9adc v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/Users/william/.nvm/versions/node/v20.13.1/bin/node]
3: 0x10b1e9877 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/Users/william/.nvm/versions/node/v20.13.1/bin/node]
4: 0x10b1e80d9 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/william/.nvm/versions/node/v20.13.1/bin/node]
5: 0x10b1dc941 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/william/.nvm/versions/node/v20.13.1/bin/node]
6: 0x10b1dd385 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/william/.nvm/versions/node/v20.13.1/bin/node]
7: 0x10b1bf4e2 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/Users/william/.nvm/versions/node/v20.13.1/bin/node]
8: 0x10b63cba0 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/Users/william/.nvm/versions/node/v20.13.1/bin/node]
9: 0x10ba0e676 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/Users/william/.nvm/versions/node/v20.13.1/bin/node]
ELIFECYCLE Command failed.
Process finished with exit code 134 (interrupted by signal 6:SIGABRT)
环境信息
The text was updated successfully, but these errors were encountered: