AllenFang / react-bootstrap-table

A Bootstrap table built with React.js
https://allenfang.github.io/react-bootstrap-table/
MIT License
2.24k stars 783 forks source link

Can't run the examples using gulp #2139

Open hlimbo-medl opened 2 years ago

hlimbo-medl commented 2 years ago

Versions Used

I've looked at these similar issues below and they seem to be able to at least run the gulp server:

Steps To reproduce

  1. clone fresh copy of this repo
  2. npm install --legacy-peer-deps
  3. npm start

I'm unable to run the examples using the existing npm start script command and get the following error below:

> react-bootstrap-table@4.3.1 start
> gulp example-server

gulp[29120]: ../src/node_contextify.cc:704:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfo<v8::Value> &): Assertion `args[1]->IsString()' failed.
 1: 0x10da5deda node::Abort() [/usr/local/Cellar/node/17.4.0/bin/node]
 2: 0x10da5dec5 node::Abort() [/usr/local/Cellar/node/17.4.0/bin/node]
 3: 0x10da52b47 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/Cellar/node/17.4.0/bin/node]
 4: 0x10dc0c4a0 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [/usr/local/Cellar/node/17.4.0/bin/node]
 5: 0x10dc0bde0 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<true>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) [/usr/local/Cellar/node/17.4.0/bin/node]
 6: 0x10dc0bb57 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [/usr/local/Cellar/node/17.4.0/bin/node]
 7: 0x10d8bec39 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit [/usr/local/Cellar/node/17.4.0/bin/node]
 8: 0x10d84b258 Builtins_JSBuiltinsConstructStub [/usr/local/Cellar/node/17.4.0/bin/node]
 9: 0x10d9540c8 Builtins_ConstructHandler [/usr/local/Cellar/node/17.4.0/bin/node]
10: 0x10d84dc8e Builtins_InterpreterEntryTrampoline [/usr/local/Cellar/node/17.4.0/bin/node]
zsh: abort      npm start

Any help would be appreciated!