Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vite@2.2.3 yarn dev report an error #3270

Closed
Vibing opened this issue May 5, 2021 · 1 comment
Closed

vite@2.2.3 yarn dev report an error #3270

Vibing opened this issue May 5, 2021 · 1 comment
Labels
duplicate This issue or pull request already exists pending triage

Comments

@Vibing
Copy link

Vibing commented May 5, 2021

Describe the bug

I follow the process to perform the following steps:

  • yarn create @vitejs/app react-vite --template-ts
  • cd react-vite && yarn
  • yarn dev

but it's not work

Used package manager: yarn

Logs

  react-vite yarn dev
yarn run v1.22.10
warning package.json: No license field
$ vite

<--- Last few GCs --->

[3331:0x158008000]       77 ms: Scavenge 9.8 (13.9) -> 9.3 (14.4) MB, 0.3 / 0.0 ms  (average mu = 1.000, current mu = 1.000) allocation failure
[3331:0x158008000]       86 ms: Scavenge 11.4 (18.4) -> 10.7 (19.6) MB, 0.5 / 0.0 ms  (average mu = 1.000, current mu = 1.000) allocation failure
[3331:0x158008000]      335 ms: Scavenge 15.0 (20.4) -> 13.5 (21.4) MB, 1.2 / 0.0 ms  (average mu = 1.000, current mu = 1.000) allocation failure


<--- JS stacktrace --->

FATAL ERROR: wasm code commit Allocation failed - process out of memory
 1: 0x1025b50cc node::Abort() [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
 2: 0x1025b524c std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::basic_string<std::nullptr_t>(char const*) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
 3: 0x1026b5448 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
 4: 0x1026b53dc v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
 5: 0x102b282e4 v8::internal::wasm::WasmCodeAllocator::AllocateForCodeInRegion(v8::internal::wasm::NativeModule*, unsigned long, v8::base::AddressRegion, v8::internal::wasm::WasmCodeAllocator::OptionalLock const&) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
 6: 0x102b28de8 v8::internal::wasm::NativeModule::CreateEmptyJumpTableInRegion(int, v8::base::AddressRegion, v8::internal::wasm::WasmCodeAllocator::OptionalLock const&) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
 7: 0x102b27d3c v8::internal::wasm::NativeModule::AddCodeSpace(v8::base::AddressRegion, v8::internal::wasm::WasmCodeAllocator::OptionalLock const&) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
 8: 0x102b28c04 v8::internal::wasm::NativeModule::NativeModule(v8::internal::wasm::WasmEngine*, v8::internal::wasm::WasmFeatures const&, v8::internal::VirtualMemory, std::__1::shared_ptr<v8::internal::wasm::WasmModule const>, std::__1::shared_ptr<v8::internal::Counters>, std::__1::shared_ptr<v8::internal::wasm::NativeModule>*) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
 9: 0x102b2ac18 v8::internal::wasm::WasmCodeManager::NewNativeModule(v8::internal::wasm::WasmEngine*, v8::internal::Isolate*, v8::internal::wasm::WasmFeatures const&, unsigned long, std::__1::shared_ptr<v8::internal::wasm::WasmModule const>) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
10: 0x102b35af4 v8::internal::wasm::WasmEngine::NewNativeModule(v8::internal::Isolate*, v8::internal::wasm::WasmFeatures const&, std::__1::shared_ptr<v8::internal::wasm::WasmModule const>, unsigned long) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
11: 0x102b0bdf0 v8::internal::wasm::AsyncCompileJob::CreateNativeModule(std::__1::shared_ptr<v8::internal::wasm::WasmModule const>, unsigned long) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
12: 0x102b0bfa4 v8::internal::wasm::AsyncCompileJob::GetOrCreateNativeModule(std::__1::shared_ptr<v8::internal::wasm::WasmModule const>, unsigned long) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
13: 0x102b12e3c v8::internal::wasm::AsyncCompileJob::PrepareAndStartCompile::RunInForeground(v8::internal::wasm::AsyncCompileJob*) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
14: 0x102b12c68 v8::internal::wasm::AsyncCompileJob::CompileStep::Run(v8::internal::wasm::AsyncCompileJob*, bool) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
15: 0x102b12b78 v8::internal::wasm::AsyncCompileJob::CompileTask::RunInternal() [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
16: 0x102608bb0 node::PerIsolatePlatformData::RunForegroundTask(std::__1::unique_ptr<v8::Task, std::__1::default_delete<v8::Task> >) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
17: 0x102607ca4 node::PerIsolatePlatformData::FlushForegroundTasksInternal() [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
18: 0x102c47354 uv__async_io [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
19: 0x102c56ec8 uv__io_poll [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
20: 0x102c47774 uv_run [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
21: 0x1025e8ce8 node::NodeMainInstance::Run() [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
22: 0x102590800 node::Start(int, char**) [/opt/homebrew/Cellar/node@14/14.16.1/bin/node]
23: 0x18ffa4420 start [/usr/lib/system/libdyld.dylib]
error Command failed with signal "SIGABRT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@Shinigami92
Copy link
Member

Duplicate of #2433

@Shinigami92 Shinigami92 marked this as a duplicate of #2433 May 5, 2021
@Shinigami92 Shinigami92 added the duplicate This issue or pull request already exists label May 5, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists pending triage
Projects
None yet
Development

No branches or pull requests

2 participants