Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本地开发报错 #128

Closed
Niefee opened this issue Jul 2, 2018 · 2 comments
Closed

本地开发报错 #128

Niefee opened this issue Jul 2, 2018 · 2 comments

Comments

@Niefee
Copy link

Niefee commented Jul 2, 2018

在archer目录下执行 gulp dev 进入本地开发模式,终端报错。

gulp[10210]: ../src/node_contextify.cc:629:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfo<v8::Value> &): Assertion `args[1]->IsString()' failed.
 1: 0x100033c31 node::Abort() [/usr/local/bin/node]
 2: 0x100032c77 node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, char const*, int, v8::Local<v8::Value>*, node::async_context) [/usr/local/bin/node]
 3: 0x100058a4b node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/bin/node]
 4: 0x10022822f v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*) [/usr/local/bin/node]
 5: 0x1002273c8 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: 0x100226d97 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
 7: 0x25e6b54041bd 
[1]    10210 abort      gulp build

我修改了样式,但无法编译sass文件。运行开发模式就报错。

@Niefee
Copy link
Author

Niefee commented Jul 2, 2018

node的版本是v10.5.0

@fi3ework
Copy link
Owner

fi3ework commented Jul 3, 2018

这个似乎是 node 10 与 gulp 之间的 bug,可以参考一下 这个issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants