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

FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal. #104

Closed
zeg-io opened this issue May 31, 2017 · 3 comments
Closed

FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal. #104

zeg-io opened this issue May 31, 2017 · 3 comments

Comments

@zeg-io
Copy link

zeg-io commented May 31, 2017

Just upgraded to Node 8. When my project attempts to run

app.use(require('node-sass-middleware')({
  src: path.join(__dirname, 'public'),
  dest: path.join(__dirname, 'public'),
  indentedSyntax: true,
  sourceMap: true
}))

it craps out with:

FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal.
 1: node::Abort() [/usr/local/bin/node]
 2: node::FatalException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>) [/usr/local/bin/node]
 3: v8::V8::ToLocalEmpty() [/usr/local/bin/node]
 4: node::inspector::(anonymous namespace)::CallAndPauseOnStart(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/bin/node]
 5: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) [/usr/local/bin/node]
 6: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(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]
 7: v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
 8: 0x1cc6388437d
 9: 0x1cc63a50969
10: 0x1cc63a4a823
@am11
Copy link
Collaborator

am11 commented May 31, 2017

Node.js 8 is supported is added to node-sass in v4.5.3. Do you have same version installed in node_modules? If not, just try running npm update to get latest node-sass.

@zeg-io
Copy link
Author

zeg-io commented Jun 12, 2017

Winner winner chicken dinner!

@zeg-io zeg-io closed this as completed Jun 12, 2017
@glassdimlygr
Copy link

glassdimlygr commented Oct 29, 2020

I got this error when using a custom node-sass importer when I had a syntax error in the importer. sass/node-sass#530

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

No branches or pull requests

3 participants