AllenFang / AllenFang/react-bootstrap-table

Can't run the examples using gulp

未关闭
#2,139 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
2.2k
派生
761
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。