AllenFang / AllenFang/react-bootstrap-table

Can't run the examples using gulp

Abierto
#2,139 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
2.2k
Forks
761
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Versions Used
* nodejs -> v17.4.0
* npm -> v8.3.1

I've looked at these similar issues below and they seem to be able to at least run the gulp server:
* https://github.com/AllenFang/react-bootstrap-table/issues/797
* https://github.com/AllenFang/react-bootstrap-table/issues/786

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 &): 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 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::(anonymous namespace)::HandleApiCallHelper(v8::internal::Isolate*, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, 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!

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.