You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is a runtime issue and does not give too many details.
The code below throws the error await JS.InvokeVoidAsync("initMonaco", EditorId, Language, "", true ? "vs-dark" : "vs");
it is easy to fix as below or simply assign a variable before the call. await JS.InvokeVoidAsync("initMonaco", EditorId, Language, "", (true ? "vs-dark" : "vs"));
However, the main issue is that the compiler does not give an error, and there is no detail in the error as well. It only says "System.NullReferenceException: 'Object reference not set to an instance of an object.'"
The text was updated successfully, but these errors were encountered:
this is a runtime issue and does not give too many details.
The code below throws the error
await JS.InvokeVoidAsync("initMonaco", EditorId, Language, "", true ? "vs-dark" : "vs");
it is easy to fix as below or simply assign a variable before the call.
await JS.InvokeVoidAsync("initMonaco", EditorId, Language, "", (true ? "vs-dark" : "vs"));
However, the main issue is that the compiler does not give an error, and there is no detail in the error as well. It only says
"System.NullReferenceException: 'Object reference not set to an instance of an object.'"
The text was updated successfully, but these errors were encountered: