Closed BetterWorld-Liuser closed 4 years ago
nodejs version: v14.2.0 os: windows
do i need to use version 12 of nodejs?
when i first run code in readme, i got some fatal error PS D:\Code\shortCutHelper> node main.js
# # Fatal error in , line 0 # Check failed: result.second. # # # #FailureMessage Object: 00000011208FC050 1: 00007FF6C591CEDF v8::internal::wasm::DisjointAllocationPool::~DisjointAllocationPool+74383 2: 00007FF6C5857BEF std::basic_ostream<char,std::char_traits<char> >::operator<<+55439 3: 00007FF6C641E432 V8_Fatal+162 4: 00007FF6C5EE73AD v8::internal::BackingStore::Reallocate+653 5: 00007FF6C6112B09 v8::ArrayBuffer::GetBackingStore+137 6: 00007FF6C58E2F98 v8::internal::Malloced::operator delete+15784 7: 00007FF6C58E79F5 node::Buffer::Length+1813 8: 00007FF6C58E80B3 node::Buffer::New+163 9: 00007FF6C58ED886 napi_create_external_buffer+230 10: 00007FF96066C0C9 FFI::WrapPointer<_ffi_type>+137 [D:\Code\shortCutHelper\node_modules\ffi-napi\src\ffi.h]:L37 11: 00007FF960670636 FFI::FFI::InitializeBindings+3718 [D:\Code\shortCutHelper\node_modules\ffi-napi\src\ffi.cc]:L117 12: 00007FF96066F5A0 Init+64 [D:\Code\shortCutHelper\node_modules\ffi-napi\src\ffi.cc]:L304 13: 00007FF96066C01B Napi::details::WrapCallback<<lambda_8c7377a71108815b2eee34f099f4cb99> >+43 [D:\Code\shortCutHelper\node_modules\node-addon-api\napi-inl.h]:L104 14: 00007FF96066A36B __napi_Init+59 [D:\Code\shortCutHelper\node_modules\ffi-napi\src\ffi.cc]:L309 15: 00007FF6C58ECD0B node_module_register+5691 16: 00007FF6C58EA0C3 node::Buffer::New+7427 17: 00007FF6C58EA982 node::Buffer::New+9666 18: 00007FF6C60D5E3F v8::internal::Builtins::builtin_handle+330191 19: 00007FF6C60D53CE v8::internal::Builtins::builtin_handle+327518 20: 00007FF6C60D56C7 v8::internal::Builtins::builtin_handle+328279 21: 00007FF6C60D5513 v8::internal::Builtins::builtin_handle+327843 22: 00007FF6C61B356D v8::internal::SetupIsolateDelegate::SetupHeap+466093 23: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 24: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 25: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 26: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 27: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 28: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 29: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 30: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 31: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 32: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 33: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 34: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 35: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 36: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 37: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 38: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 39: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 40: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 41: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 42: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 43: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 44: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 45: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 46: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 47: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 48: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 49: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 50: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 51: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 52: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 53: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 54: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 55: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 56: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 57: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 58: 00007FF6C614B708 v8::internal::SetupIsolateDelegate::SetupHeap+40520 59: 00007FF6C61492EE v8::internal::SetupIsolateDelegate::SetupHeap+31278 60: 00007FF6C6148EDC v8::internal::SetupIsolateDelegate::SetupHeap+30236 61: 00007FF6C602CDEF v8::internal::Execution::CallWasm+1743 62: 00007FF6C602C5FF v8::internal::Execution::Call+191 63: 00007FF6C61061A7 v8::Function::Call+615 64: 00007FF6C58EEFFF napi_unref_threadsafe_function+2543 65: 00007FF6C58F2B97 node::Start+1159 66: 00007FF6C58F2F91 node::Start+2177 67: 00007FF6C593BF38 node::LoadEnvironment+56 68: 00007FF6C587FBE3 EVP_CIPHER_CTX_buf_noconst+39939 69: 00007FF6C58F2830 node::Start+288 70: 00007FF6C57566FC RC4_options+339452 71: 00007FF6C666782C v8::internal::compiler::RepresentationChanger::Uint32OverflowOperatorFor+156812 72: 00007FF99B827BD4 BaseThreadInitThunk+20 73: 00007FF99D52CE51 RtlUserThreadStart+33
{ "dependencies": { "active-win": "^6.1.0" }, "devDependencies": {}, "name": "shortcuthelper", "version": "1.0.0", "main": "main.js", "scripts": {}, "author": "", "license": "ISC", "description": "" }
all right. i switch to 12.16.3 and success
all right. i switch to 12.16.3 and no such weird error anymore, using nvm install 12.16.3 and nvm use 12.16.3(cmd under administrative mode)
nodejs version: v14.2.0 os: windows
do i need to use version 12 of nodejs?
when i first run code in readme, i got some fatal error PS D:\Code\shortCutHelper> node main.js
here is my package.js
{ "dependencies": { "active-win": "^6.1.0" }, "devDependencies": {}, "name": "shortcuthelper", "version": "1.0.0", "main": "main.js", "scripts": {}, "author": "", "license": "ISC", "description": "" }