Vue Cli Serve fatal JavaScript invalid size error: node_api_throw_syntax_error
<p>My problem is that I can't serve or build my vue application. When doing this, I receive the following error: </p>
<pre class="brush:php;toolbar:false;">INFO Starting development server...
[70%] sealing (finish module graph ESLintWebpackPlugin_1)
#
# Fatal error in , line 0
# Fatal JavaScript invalid size error 169220804
#
#
#
#FailureMessage Object: 00000075C11FC8E0
1: 00007FF78CD49E7F node_api_throw_syntax_error 175967
2: 00007FF78CC6036F v8::CTypeInfoBuilder<void>::Build 11999
3: 00007FF78DACD182 V8_Fatal 162
4: 00007FF78D60A265 v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArray 101
5: 00007FF78D48F8E3 v8::internal::FeedbackNexus::ic_state 65795
6: 00007FF78D4AE460 v8::Context::GetIsolate 15600
7: 00007FF78D2FAA40 v8::internal::CompilationCache::IsEnabledScriptAndEval 25952
8: 00007FF78D8078B1 v8::internal::SetupIsolateDelegate::SetupHeap 558193
9: 00007FF70EB45D8E</pre>
<p>I found this threat, which references the same issue, but in a single code file:
Fatal javascript invalid size error 188720663</p>
<p>Is there any way to identify such loops in my *.vue files or identify the last file processed? </p>
<p>I've had this error before, but after changing anything it went away (maybe a lucky hit). Using an old commit (when it was valid) also doesn't fix this error. I also tried cloning the repository and installing again. </p>