AllenFang / AllenFang/react-bootstrap-table

Can't run the examples using gulp

Đang mở
#2,139 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
2.2k
Fork
761
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.