我正在尝试使用Travis CI部署我的应用。自上次部署以来,我几乎什么也没有改变,这很好。部署时,构建失败,我收到此消息:
Installing deploy dependencies
Fetching: dpl-script-1.9.6.gem (100%)
Successfully installed dpl-script-1.9.6
1 gem installed
!!! Script support is experimental !!!
dpl.2
Preparing deploy
dpl.3
Deploying application
node[7709]: ../src/node_contextify.cc:628:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()' failed.
1: node::Abort() [node]
2: 0x876c55 [node]
3: node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [node]
4: v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*) [node]
5: 0xacd2df [node]
6: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [node]
7: 0x32e75058427d
Script failed with status
failed to deploy
注意:当我在本地启动应用程序或部署到Heroku时,不会发生这种情况,因为我不得不暂时将其作为备份。它只发生在特拉维斯CI。
这可能是相关的:https://github.com/gulpjs/gulp/issues/2162
我无法弄清楚如何解决这个问题。我已经完成了npm更新。看起来它可能是特拉维斯方面的东西。有什么想法吗?