question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FATAL ERROR: v8::FromJust Maybe value is Nothing.

See original GitHub issue

Environment

  • Operating System: Linux
  • Node Version: v14.18.1
  • Nuxt Version: 3-3.0.0-27234368.47ea41d
  • Package Manager: Yarn
  • Bundler: Webpack
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Steps to reproduce

  1. Install a fresh Nuxt 3
  2. Delete app.vue
  3. Run yarn dev -o
  4. Create ./pages directory
  5. See error
ℹ Directory pages/ created. Restarting nuxt...                                                                     21:24:20
FATAL ERROR: v8::FromJust Maybe value is Nothing.
 1: 0xa389b0 node::Abort() [/usr/local/bin/node]
 2: 0x96e0af node::FatalError(char const*, char const*) [/usr/local/bin/node]
 3: 0xbb773a v8::Utils::ReportApiFailure(char const*, char const*) [/usr/local/bin/node]
 4: 0xa3c19d node::fs::FileHandle::CloseReq::Resolve() [/usr/local/bin/node]
 5: 0xa3c2f9  [/usr/local/bin/node]
 6: 0x13b992d  [/usr/local/bin/node]
 7: 0x13be0b6  [/usr/local/bin/node]
 8: 0x13d0524  [/usr/local/bin/node]
 9: 0x13be9e8 uv_run [/usr/local/bin/node]
10: 0xafab43 node::worker::Worker::Run() [/usr/local/bin/node]
11: 0xafb5f8  [/usr/local/bin/node]
12: 0x7f176d5e5609  [/lib/x86_64-linux-gnu/libpthread.so.0]
13: 0x7f176d50c293 clone [/lib/x86_64-linux-gnu/libc.so.6]
Aborted (core dumped)
error Command failed with exit code 134.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Expected behaviour

Restart Nuxt without error.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:11
  • Comments:31 (14 by maintainers)

github_iconTop GitHub Comments

9reactions
Tahulcommented, Oct 27, 2021

I also encounter a similar issue with @nuxt/bridge:

FATAL ERROR: v8::FromJust Maybe value is Nothing.
 1: 0x101326b05 node::Abort() (.cold.1) [/Users/tahul/.volta/tools/image/node/14.18.0/bin/node]
 2: 0x1000b7129 node::Abort() [/Users/tahul/.volta/tools/image/node/14.18.0/bin/node]
 3: 0x1000b729f node::OnFatalError(char const*, char const*) [/Users/tahul/.volta/tools/image/node/14.18.0/bin/node]
 4: 0x100203b40 v8::V8::FromJustIsNothing() [/Users/tahul/.volta/tools/image/node/14.18.0/bin/node]
 5: 0x100007ead node::UVException(v8::Isolate*, int, char const*, char const*, char const*, char const*) [/Users/tahul/.volta/tools/image/node/14.18.0/bin/node]
 6: 0x1000bbc82 node::fs::FSReqAfterScope::Reject(uv_fs_s*) [/Users/tahul/.volta/tools/image/node/14.18.0/bin/node]
 7: 0x1000bbf3f node::fs::AfterOpenFileHandle(uv_fs_s*) [/Users/tahul/.volta/tools/image/node/14.18.0/bin/node]
 8: 0x100a0b478 uv__work_done [/Users/tahul/.volta/tools/image/node/14.18.0/bin/node]
 9: 0x100a105c3 uv__async_io [/Users/tahul/.volta/tools/image/node/14.18.0/bin/node]
10: 0x100a241cc uv__io_poll [/Users/tahul/.volta/tools/image/node/14.18.0/bin/node]
11: 0x100a10b31 uv_run [/Users/tahul/.volta/tools/image/node/14.18.0/bin/node]
12: 0x100159669 node::worker::Worker::Run() [/Users/tahul/.volta/tools/image/node/14.18.0/bin/node]
13: 0x10015cf5f node::worker::Worker::StartThread(v8::FunctionCallbackInfo<v8::Value> const&)::$_3::__invoke(void*) [/Users/tahul/.volta/tools/image/node/14.18.0/bin/node]
14: 0x7fff203328fc _pthread_start [/usr/lib/system/libsystem_pthread.dylib]
15: 0x7fff2032e443 thread_start [/usr/lib/system/libsystem_pthread.dylib]
error Command failed with signal "SIGABRT".

Nuxi report:

------------------------------
- Operating System: `Darwin`
- Node Version:     `v14.18.0`
- Nuxt Version:     `2.16.0-27254893.4bf7c35b`
- Package Manager:  `Yarn`
- Bundler:          `Webpack`
- User Config:      `rootDir`, `head`, `meta`, `bridge`, `components`, `colorMode`, `image`, `buildModules`, `target`, `server`, `generate`, `nitro`, `build`, `hasDocusConfig`, `hasThemeConfig`, `themeName`, `themeDir`, `css`, `plugins`, `windicss`, `hooks`, `themeConfigDefaults`, `hasTheme`
- Runtime Modules:  `-`
- Build Modules:    `@nuxt/image@0.6.0`, `@nuxt/postcss8@1.1.3`, `@docus/core@1.2.3-27252625.3ca0a93`, `@nuxt/bridge@3.0.0-27254511.41ff3b8`, `@nuxtjs/color-mode@2.1.1`, `@docus/windicss@2.0.2-27254470.9959d90`, `@nuxt/bridge@3.0.0-27254511.41ff3b
------------------------------

I don’t have a proper way to replicate this error as this spawns randomly while coding in the project.

The last time I had it was when editing a plugin, the replacement made the server crash.


Edit for additional context:

  • Sometimes I get this on server restart, and I have to delete node_modules and reinstall everything so it boots up again.
  • It seem to happen on HMR/server updates.
  • I’ve tried Node 12.x, Node 14.x, Node 16.x and have problems on all these versions.
5reactions
Atinuxcommented, Mar 29, 2022

Alright, made a reproduction without @nuxt/content v2: https://github.com/Atinux/nuxt-maybe-value-repro

You will need to save faster and more times the ~/plugins/foo.ts because I did not add any parsing logic in it, but basically it is related to memory usage.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FATAL ERROR: v8::FromJust Maybe value is Nothing #6899
The command that caused this was vitest run which is running my tests. FATAL ERROR: v8::FromJust Maybe value is Nothing. 1: 00007FF6422194EF ...
Read more >
Error when building angular with nx FATAL ERROR: v8
sometimes I got the following error when building a angular app with nx on the build server. FATAL ERROR: v8::FromJust Maybe value is...
Read more >
FATAL ERROR: v8::FromJust Maybe value is Nothing
Version: 4.2.2, 4.4.0, 6.2.0; Platform: 4.2.0-35-generic #40-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux; Subsystem: ubuntu 15.10.
Read more >
FATAL ERROR: v8::FromJust Maybe value is Nothing. #2947
Description. I'm currently migrating a test suite with ~100 tests from Mocha to AVA. Writing those tests is a breeze, but unfortunately the...
Read more >
src/api/api.cc - v8/v8 - Git at Google
FATAL("API fatal error handler returned after process out of memory"); ... Utils::ApiCheck(false, "v8::FromJust", "Maybe value is Nothing.");.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found