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

yarn add @open-wa/wa-automate crash #1847

Closed
bolincenha opened this issue Jul 6, 2021 · 2 comments
Closed

yarn add @open-wa/wa-automate crash #1847

bolincenha opened this issue Jul 6, 2021 · 2 comments

Comments

@bolincenha
Copy link

bolincenha commented Jul 6, 2021

node -v v15.8.0
npm -v 7.19.1
yarn -v 1.22.10
macos big sur (ARM)
wa-automate -v 4.7.1

Describe the bug

> yarn add @open-wa/wa-automate

yarn add v1.22.10
[1/4] 🔍  Resolving packages...
warning @open-wa/wa-automate > postman-2-swagger > postman-collection > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @open-wa/wa-automate > puppeteer-extra-plugin-devtools > http-auth > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @open-wa/wa-automate > swagger-stats > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning @open-wa/wa-automate > swagger-stats > request > uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning @open-wa/wa-automate > swagger-stats > request > har-validator@5.1.5: this library is no longer supported
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "@open-wa/wa-automate > postman-2-swagger@0.5.0" has unmet peer dependency "lodash@^4.17.11".
warning "@open-wa/wa-automate > swagger-stats@0.99.2" has unmet peer dependency "prom-client@>= 10 <= 13".
[4/4] 🔨  Building fresh packages...
[2/2] ⠈ @open-wa/wa-automate
error /Users/bolincenha/Dev/karbon/karbon-bench-4/apps/whatsapp/node_modules/@open-wa/wa-automate: Command failed.
Exit code: 1
Command: cross-env npm_config_yes=true npx ignore-check@latest -p '**.data.json' -p '**.node-persist**' --comment 'managed by open-wa'
Arguments: 
Directory: /Users/bolincenha/Dev/karbon/karbon-bench-4/apps/whatsapp/node_modules/@open-wa/wa-automate
Output:
#
# Fatal error in , line 0
# Check failed: allocator->SetPermissions(reinterpret_cast<void*>(region.begin()), region.size(), PageAllocator::kNoAccess).
#
#
#
#FailureMessage Object: 0x16bbaa638
 1: 0x104353d34 node::NodePlatform::GetStackTracePrinter()::$_3::__invoke() [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
 2: 0x1050a02fc V8_Fatal(char const*, ...) [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
 3: 0x1049f1928 v8::internal::wasm::WasmCodeManager::Decommit(v8::base::AddressRegion) [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
 4: 0x1049f4fa8 v8::internal::wasm::NativeModule::FreeCode(v8::internal::Vector<v8::internal::wasm::WasmCode* const>) [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
 5: 0x104a04190 v8::internal::wasm::WasmEngine::FreeDeadCodeLocked(std::__1::unordered_map<v8::internal::wasm::NativeModule*, std::__1::vector<v8::internal::wasm::WasmCode*, std::__1::allocator<v8::internal::wasm::WasmCode*> >, std::__1::hash<v8::internal::wasm::NativeModule*>, std::__1::equal_to<v8::internal::wasm::NativeModule*>, std::__1::allocator<std::__1::pair<v8::internal::wasm::NativeModule* const, std::__1::vector<v8::internal::wasm::WasmCode*, std::__1::allocator<v8::internal::wasm::WasmCode*> > > > > const&) [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
 6: 0x104a01e98 v8::internal::wasm::WasmEngine::PotentiallyFinishCurrentGC() [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
 7: 0x104a0330c v8::internal::wasm::WasmEngine::ReportLiveCodeForGC(v8::internal::Isolate*, v8::internal::Vector<v8::internal::wasm::WasmCode*>) [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
 8: 0x104a036bc v8::internal::wasm::WasmEngine::ReportLiveCodeFromStackForGC(v8::internal::Isolate*) [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
 9: 0x10458ce04 v8::internal::StackGuard::HandleInterrupts() [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
10: 0x1048c85c0 v8::internal::Runtime_StackGuard(int, unsigned long*, v8::internal::Isolate*) [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
11: 0x104bb990c Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
12: 0x104b526b0 Builtins_InterpreterEntryTrampoline [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
13: 0x104b52614 Builtins_InterpreterEntryTrampoline [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
14: 0x104b52614 Builtins_InterpreterEntryTrampoline [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
15: 0x104b52614 Builtins_InterpreterEntryTrampoline [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
16: 0x104b52614 Builtins_InterpreterEntryTrampoline [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
17: 0x104b52614 Builtins_InterpreterEntryTrampoline [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
18: 0x104b52614 Builtins_InterpreterEntryTrampoline [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
19: 0x104b7ea14 Builtins_AsyncFunctionAwaitResolveClosure [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
20: 0x104c05b9c Builtins_PromiseFulfillReactionJob [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
21: 0x104b71788 Builtins_RunMicrotasks [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
22: 0x104b4fda8 Builtins_JSRunMicrotasksEntry [/Users/bolincenha/.nvm/versions/node/v15.8.0/bin/node]
23: 0x128008000
@smashah
Copy link
Member

smashah commented Jul 6, 2021

what the hell

@smashah
Copy link
Member

smashah commented Jul 6, 2021

@bolincenha this is an issue with that specific version of nodejs (15.8.0)

nodejs/node#37061 (comment)

It works fine on CURRENT (14.17.3), 14.15.0 & LATEST (16.4.2)

@smashah smashah closed this as completed Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants