我目前正在对使用圣人8.5.1网站。
我已经做了所有的以下内容:
npm install -g gulp bower
安装全球一饮而尽和鲍尔npm install
bower install
但是,当我运行一饮而尽手表,我得到了以下问题:
gulp watch[8188]: ../src/node_contextify.cc:633:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfo<v8::Value> &): Assertion `args[1]->IsString()' failed.
1: 0x10003b125 node::Abort() [/usr/local/bin/node]
2: 0x10003a183 node::AddEnvironmentCleanupHook(v8::Isolate*, void (*)(void*), void*) [/usr/local/bin/node]
3: 0x100064bc1 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/bin/node]
4: 0x10023122f v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*) [/usr/local/bin/node]
5: 0x1002303cb 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/bin/node]
6: 0x10022fde7 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
7: 0x22e57615be3d
Abort trap: 6
有什么建议么?
每a bug filed against ionic(同样的错误,不同的构建工具),这似乎是与模块依赖的某种组合的问题。他们的解决方案:
rm -rf node_modules
rm package-lock.json
npm cache clean --force
npm install
我跑在此之后,我发现我的大部分模块依赖的发生了变化,其中不乏未成年人或建立更新。