Monogatari tells you about a problem in two places. While you make your game, it opens an error dialog over the game. The browser console keeps a log with more detail, if your browser has one. The last part of this page lists every error dialog Monogatari 2.9.0 can open, so you can look one up by the words in its title.

If you’re new to all of this, When something goes wrong walks you through a first error in a small game. For problems that open no dialog at all, see Troubleshooting.

Where each kind of report shows up

Report When you see it What it needs
Error dialog Monogatari can’t run a statement, one of your .js files has a typo, or your code throws an error. The debug file, and a debug level above 0. The starter game has both.
Browser console Always, as a log you open yourself. A browser with developer tools. Browsers on a computer have them; most phone and tablet browsers don’t.

On a phone or a tablet, the error dialogs are usually all you have. They are part of the page, so they open there too.

Error dialogs

An error dialog opens over your game when Monogatari runs into something it can’t do: a jump to a label that doesn’t exist, a character nobody declared, a function in your script that failed. Here is the one a 'jump Lamps' statement opens when the script has no label called Lamps:

An error dialog titled "The label "Lamps" does not exist", with the missing label, the labels the script has, the statement, its label and step, and a help section
The dialog for a jump to a label that doesn't exist

Each dialog has the same parts:

  • The title and the line under it say what went wrong. The list of error dialogs below is sorted by topic and gives each title.
  • Details shows what Monogatari was doing. Most dialogs about a statement name the Statement, the Label it’s in and its Step: the position of the statement in that label, counting from 0. Step 3 is the fourth statement of the label.
  • You may have meant one of these lists every name of that kind your game has (every label, every character), so you can spot the one you meant. It isn’t a list of close matches.
  • Help says how to fix it, often with an example.
  • Need More Help? links the Help page, the Discord server and GitHub’s issues. Help says what to include when you ask.
  • Ok, at the bottom, closes the dialog. Scroll down to reach it when the dialog is taller than the screen.

The dialog has no copy button. To paste an error into a question, select its text with the mouse (or a long press on a phone) and copy it.

What happens to the game after an error

Most errors about a statement stop that statement: it doesn’t finish, and the game stays on the line before it. Close the dialog, and the next click goes on with the statement after the failed one; Back works too, and going back steps over the failed statement. Fix the statement, save the file and reload the page to try it again.

A label that ends without an end or a jump opens The label “…” ran out of statements and stays on its last line.

Some errors only warn you, and the game goes on. The list below says what each one does.

When several errors happen at once

The dialogs open one after another, in the order the errors happened: closing one shows the next.

When the dialogs show

The dialogs need two things, and the starter game has both:

  1. The debug file. index.html loads engine/debug/debug.js before the engine, with this line:

    <script src="./engine/debug/debug.js"></script>
  2. A debug level above 0. js/main.js sets it with this line, near the top of the file:

    monogatari.debug.level(5);

With the debug file loaded, the level starts at 1, so the dialogs open even before js/main.js sets a level, and even when a mistake in js/main.js keeps that line from running.

Without the debug file, or with the level at 0, the same problems open no dialog. The statement still fails in the same way, and the console’s step-by-step trace, which also mentions it (as Will Apply Failed. and the reason), only prints with the debug file. Keep both while you make your game.

A typo in one of your files

When a .js file of your game has a mistake the browser can’t read past, like a missing comma, this dialog opens as the page loads:

An error dialog titled "There is a mistake in js/script.js". Its details give the file js/script.js, line 76, the browser's message "Uncaught SyntaxError: Unexpected string", and what happens now: the game has no script, or only part of it, so it may not start. A help section follows
A missing comma in js/script.js, with the game served from a local server in Chrome

  • The title names the file with the mistake.
  • Line is the line where the browser noticed it. For a missing comma, that’s the line after the one that needs the comma. In the example, line 75 of js/script.js lost its comma, and the dialog says line 76.
  • The browser says is the browser’s own message. Browsers word it differently: for the same missing comma, Chrome says Uncaught SyntaxError: Unexpected string and Firefox says SyntaxError: missing ] after element list. Neither says “comma”, so read it as “something is wrong around here”.
  • What happens now says what the mistake means for your game, which depends on the file (see the table below).

WARNING

With the game opened from its file (the address starts with file://), Chrome and Firefox don’t give the page the line or their message: Line says Not given, and The browser says reads Script error.. The dialog still names the file. Open the console, which shows the line, or serve the game.

File with the typo What you see after closing the dialog
js/script.js An empty screen: the browser stopped reading the file, so the game has no script.
js/options.js The game starts, but with the engine’s default settings instead of yours.
js/storage.js The game starts, without the variables you declared there.
js/main.js An empty screen: js/main.js starts the game, and it didn’t run.

Troubleshooting lists the usual typos and how to find them.

An error in your own code during play

Once the game runs, an error thrown by your own code, in a timer or a listener of yours, opens a dialog titled An Unknown Error Occurred, with the browser’s message, the file and the line. Opened from its file, the browser only gives Script error., without the file in Chrome: the console has the rest. An error from a function statement in your script has its own dialog (see Functions in your script). An error inside an async function or a promise opens no dialog: only the console shows it.

Before you release your game

Turn the dialogs off before you publish your game, so players never see them: delete the debug.js line from index.html. That also stops the step-by-step trace; errors and warnings still reach the console, where a player reporting a problem can copy them. To silence those too, change the level in js/main.js to 0. See Releasing on the web.

The browser console

The console is a panel of your browser’s developer tools where pages write messages. Monogatari writes what it does and what goes wrong there, and the browser adds its own errors: a mistake in a .js file, with the file name and line number, or a file it couldn’t load.

To open it on a computer:

Browser Windows and Linux macOS
Chrome, Edge Ctrl + Shift + J Cmd + Option + J
Firefox Ctrl + Shift + K Cmd + Option + K
Safari Turn on the developer features in Safari’s settings (the Advanced tab) once, then Cmd + Option + C.

In Chrome, Edge and Firefox you can also right-click the page, choose Inspect, and pick the Console tab.

Errors are red. Click the file name at the end of an error (like script.js:88) to see the line it points at.

How much Monogatari prints

monogatari.debug.level() in js/main.js sets how much Monogatari writes to the console. Each level includes everything from the levels below it:

Level What Monogatari prints Error dialogs
0 Nothing of its own debug log. No
1 Errors. The level starts here when the debug file is loaded. Yes
2 Errors and warnings. Yes
3 The same as 2: Monogatari prints nothing more at this level. Yes
4 The above, plus a step-by-step trace of every statement, click and check. Yes
5 The same as 4. The starter game uses this level. Yes

The trace at levels 4 and 5 needs the debug file. Without it, as in a released game, only errors and warnings print, at their levels, and no dialog opens.

Some messages print whatever the level: the browser’s own errors, a few warnings Monogatari writes directly to the console (listed in Troubleshooting), and, with the debug file loaded, lines that start with [Pandora] and list each part of the interface as it’s added to the page.

Find out why the game won’t move

At level 4 or 5, every click or key press that doesn’t move the game forward writes its reason to the console:

Proceed Prevented
Reason: Error: Choice is waiting for input

A click on the game itself writes Click Proceed Prevented instead. The usual reasons, after Reason: (most start with Error:):

Reason What’s holding the game
Choice is waiting for input A choice is on screen. Pick an option.
Waiting for user input A text input is waiting for an answer.
Message waiting for dismissal A message is open. Close it.
Wait period has not ended A wait with a time is still counting.
Video is still playing A video is playing in a mode that waits for its end.
Extra condition check failed. Something else blocks the game: an error dialog is open, the text box is hidden, a statement is still running, or a function in your script is still running. The line above it lists what’s blocking (Modal Visible: true while a dialog is open, Distraction Free: true when the text box is hidden, Engine Block: true while a statement runs, Block: true while a function runs).

Troubleshooting goes through each case.

Every error dialog

Titles are written as the dialog shows them, spelling included. … stands for a name from your game. Under each title is the error’s id: the dialog doesn’t show it, but it’s how the engine and the debug file (engine/debug/debug.js) name the error, so it helps when you search the engine’s code or report a bug.

Your game’s files

Title What it means and what to do
There is a mistake in …
debug:page:file_error
One of your .js files has a mistake the browser couldn’t run past, found while the page loaded. Fix it at the line shown, or the line before. See A typo in one of your files.
An Unknown Error Occurred Your own code threw an error after the page loaded, in a timer or a listener. See An error in your own code during play.

The script and its labels

Title What it means and what to do
“…” Label was not found
engine:script:label_not_found
Opens right after the loading screen: the label the game starts at (the Label setting in js/options.js, Start in the starter game) isn’t in the script. The screen stays empty. Make the setting and the label’s name match exactly, capitals included. When js/script.js has a typo, There is a mistake in js/script.js opens instead of this one.
The label “…” ran out of statements
engine:script:label_ended
The game reached the last statement of the label named in the title, and the label doesn’t end with 'end' or 'jump …'. Add 'end' as its last statement to finish the game there, or 'jump AnotherLabel' to go on. The game stays on the last line, and Back works. A jump to an empty label ('Chapter2': []) opens it too.
No action can run this statement
engine:run:no_action
An object statement (one written in { }) starts with a name no action knows, usually a typo: { 'Choise': { … } } instead of { 'Choice': { … } }. Statement shows it, and Help lists the names Monogatari knows. The next click goes on after it.
A statement failed
engine:run:statement_failed
A statement ran into an error its action has no dialog of its own for. Action names the action that took the statement, Failed In the step that failed, and Error Message the error. Check the statement and the names in it; for an action you wrote, the console shows where the error happened. The next click goes on after it.
The game jumped … times without stopping
action:jump:endless_loop
Labels jumped to each other a thousand times in a row, with nothing in between that waits for the player: 'Loop': ['jump Loop'], or two labels that jump to each other. Put a line of dialog, a choice or a wait in the loop. The game stops jumping there.
The label “…” does not exist
action:jump:label_not_found
A jump names a label the script doesn’t have. Fix the name in the statement or in the script. A line of narration that starts with the word jump is a jump too: start it with narrator ('narrator jump for joy'). The next click goes on after it.
Script Language “…” Was Not Found
engine:script:language_not_found
The MultiLanguage setting is true, and the script has no labels under the player’s language. Either set 'MultiLanguage': false in js/options.js, or group the labels under each language’s name ('English': { 'Start': [ … ] }). See Translating your game.
Conditional condition returned a negative number “…”.
action:conditional:negative_value
A Conditional’s Condition function returned a number below 0. A number names the branch to run (0 runs the branch called '0'). The game runs the False branch instead, or goes on to the next statement if there is none.
Conditional condition returned a non-integer value “…”.
action:conditional:non_integer_value
The same for a number that isn’t whole, like 1.5. Round it, or return a branch name.
Conditional attempted to execute a non-existent branch “…”
action:conditional:branch_not_found
The Condition function returned text that isn’t the name of one of its branches. Return true (runs True), false (runs False) or the exact name of a branch. The game runs the False branch instead, or goes on to the next statement if there is none.
Every option of this choice is hidden
action:choice:no_options
A choice’s options all have a Condition function, and none returned true, so there was nothing to show. The game passed over the choice and went on with the statement after it. Options lists them. Check their Condition functions, or leave one option without one. See Choices.
The option “…” has no statement to run
action:choice:invalid_do
A choice option has no Do, an empty one, or something other than text in it (an object or a function). Opens when the menu shows; picking that option goes on with the statement after the choice. Give it a text statement, such as 'jump Library'.

A Condition function that throws an error opens no dialog: the False branch runs. See Conditionals.

Characters and sprites

Title What it means and what to do
The character “…” does not exist
action:show_character:character_not_found
show character names an id that isn’t declared with monogatari.characters(). Fix the id (capitals count), or declare the character. The next click goes on after it.
The sprite “…” for character “…” does not exist
action:show_character:sprite_not_found
The character has no sprite with that name in its sprites, or no sprites at all. Available Sprites lists the ones it has. The next click goes on after it.
The character “…” does not exist
action:hide_character:character_not_found
hide character names an id that isn’t declared. Statement shows the statement. The next click goes on after it.
The character “…” can’t hide because it’s not being shown
action:hide_character:not_shown
Nothing showed that character before this hide character. Add a show character before it, or remove the hide. The next click goes on after it.
The character “…” does not exist
action:show_character_layer:character_not_found
show character with a layer ('show character y:face smile') names an id that isn’t declared. The next click goes on after it.
The sprite “…” for layer “…” of character “…” does not exist
action:show_character_layer:sprite_not_found
The character’s layer_assets has no such layer, or no asset with that name for that layer. Available Sprites lists the ones the layer has. The next click goes on after it.
The layer “…” isn’t in the layers of character “…”
action:show_character_layer:layer_not_listed
The character’s layer_assets has pictures for that layer, but its layers list doesn’t name it, so the sprite never draws it. Layers of the Character lists the ones it has. The game goes on without the layer. Add the layer to layers, in the place it should be drawn: the first one is at the back, the last in front.
The character “…” does not exist
action:hide_character_layer:character_not_found
hide character with a layer names an id that isn’t declared. Statement shows the statement. The next click goes on after it.
The character layer “…” can’t hide because it’s not being shown
action:hide_character_layer:layer_not_shown
Nothing showed that layer before. Show it first, or remove the hide. The next click goes on after it.
A character id is also an action: …
engine:characters:action_word
A character’s id is a word that starts a statement, such as jump or play, so a line that starts with it runs that statement instead of showing the character’s dialog. It opens when the game starts, or when such a character is declared later. Give the character another id in monogatari.characters() and in your script; players see its name, which can stay the same.

Character layers are an experimental feature: with 'ExperimentalFeatures': false, the starter game’s value, a statement with a layer isn’t recognized and shows as a line of text instead of opening these dialogs. See Character Layers.

Images, canvas and video

Title What it means and what to do
The image “…” can’t hide because it’s not being shown
action:hide_image:not_shown
Nothing showed that image before this hide image. The next click goes on after it.
The canvas mode provided (“…”) is not valid.
action:canvas:invalid_mode
Use one of modal, displayable, immersive, background or character. The next click goes on after it.
The canvas object “…” was not found or is invalid
action:canvas:object_not_found
Declare the object with monogatari.action('canvas').objects({ … }) in js/script.js, under the name you use in show canvas. The next click goes on after it.
The canvas “…” can’t hide because it’s not being shown
action:hide_canvas:not_shown
Nothing showed that canvas before this hide canvas. The next click goes on after it.
The video mode provided (“…”) is not valid.
action:video:invalid_mode
Use one of modal, displayable, immersive, fullscreen or background. The next click goes on after it.

Messages, notifications, vibration, waits and the text box

Title What it means and what to do
The message “…” was not found
action:message:not_found
Declare the message with monogatari.action('message').messages({ … }), under the name you use in show message. The next click goes on after it.
The notification “…” was not found
action:notification:not_found
Declare the notification with monogatari.action('notification').notifications({ … }), under the name you use in show notification. The game skips the statement and goes on.
The specified time was not an integer
action:notification:invalid_time
The time after a notification’s name is in milliseconds, digits only: 'show notification Welcome 5000'. The notification still shows, but doesn’t close by itself.
The specified time was not an integer
action:vibrate:invalid_time
vibrate takes milliseconds, digits only: 'vibrate 500', or a pattern like 'vibrate 500 100 500'. It opens in every browser, including ones that can’t vibrate. The game goes on.
The specified time was not an integer
action:wait:invalid_time
wait takes milliseconds, digits only: 'wait 5000'. A time like 'wait 5s' opens this dialog, and then the game waits for a click, as 'wait' with no time does.
A dialog is being shown while the textbox is hidden
action:dialog:textbox_hidden
A line of dialog ran after hide textbox, so it went into the hidden text box and nobody can read it. Add 'show textbox' before the line. The game goes on.

Functions in your script

These come from JavaScript you wrote in the script. The details include Error Message, the error your code threw; the console has the full error, with the file and line.

Title What it means and what to do
An error occurred while trying to run a Function.
engine:run:function_error
A function written as a statement of its own (function () { … } in a label) threw an error. The game waits there; the next click goes on after the function. Fix the function.
An error occurred while trying to apply a Reversible Function.
action:function:apply_error
The Apply function of a { 'Function': … } statement threw an error. The game goes on to the next statement.
An error occurred while trying to revert a Reversible Function.
action:function:revert_error
The Revert function of a { 'Function': … } statement threw an error when the player went back. The game still goes back.
The input’s Validation function returned “…”
action:input:invalid_validation_result
An Input’s Validation function returned something other than true, false or a Promise, usually nothing at all (the title shows "undefined"). The value was refused and the input stays open. End every path through the function with return true or return false. See Input.

See JavaScript for functions in a script.

Variables, languages and translations

Title What it means and what to do
Variable “{{…}}” does not exist in your storage
engine:storage:variable_not_found
A {{name}} in a line names a variable your storage doesn’t have (the title shows it with its braces). Part Not Found is the first part of the name that’s missing. The line then shows the variable as written, braces included. Give the variable a starting value in js/storage.js. See Variables and storage.
A variable’s value keeps expanding
engine:storage:variable_loop
The values of the variables in a text keep holding more {{variables}}: a value holds its own name ({ title: 'The {{title}}' }), or two values hold each other. After 16 rounds the engine stops and shows the text as it is then. Text is the text as written, After the last pass what it had become. Change the value so it doesn’t name itself. A player who types {{ and }} around a word in an input can cause it too.
Translation for string “…” could not be found
engine:translation:key_not_found
An element of the interface has a data-string the player’s language has no text for. The element shows the English text, when English has one. Add the text with monogatari.translation('English', { … }), using that language’s name, or fix the data-string if it’s a typo.
Language could not be found
engine:translation:language_not_found
The player’s language (the Language preference in js/options.js, or the one picked in the settings) has no interface texts at all. The interface shows in English, and the dialog opens once. Use a language name the engine has (You may have meant one of these lists them, like English or Español), or add yours with monogatari.translation().
Metadata for language “…” could not be found.
component:language_selection_screen:metadata_not_found
With MultiLanguage and LanguageSelectionScreen both true, the language selection screen shows a button for each language in the script, and one has no code and icon. Add them with monogatari.languageMetadata('…', { code: '…', icon: '…' }). When these dialogs name your labels (Start, Yes, No), the script isn’t grouped by language: see Script Language “…” Was Not Found above.

See Translating your game.

Files, music and saving

Title What it means and what to do
Some of your game’s files could not be preloaded
engine:preload:files_not_loaded
Before the main menu, the game downloads the files your js/script.js declares (see Asset Preloading), and some of them couldn’t be loaded. Files That Failed lists the addresses it asked for. Compare each with your assets folder: the folder for its kind of asset (AssetsPath in js/options.js), and the file’s name exactly, upper and lower case and extension included, since most web hosts treat Hall.png and hall.png as different files. For a character’s picture, the address includes the character’s directory. The game goes on, and each file is missing again when the story uses it.
The preload block “…” names files your game never declared
engine:preload:not_declared
A preload block lists names that aren’t declared with monogatari.assets() or monogatari.characters(): a typo, a file name ('afternoon.jpg') instead of the name you gave it ('afternoon'), or a sprite the character doesn’t have. Names Not Declared lists each one with its kind, like scenes: hal or characters: y happy. For the default block it opens while the game loads. The rest of the block is preloaded. Fix each name. See Preload.
There is no file to preload for “…”
action:preload:not_declared
A preload statement names something that isn’t declared, shown with its kind (music: afternon). Fix the name in the statement, or declare it. The game goes on.
The music “…” is not defined.
engine:music:not_defined
The MainScreenMusic setting in js/options.js names music that isn’t declared with monogatari.assets('music', { … }). Declare it, fix the name, or set the setting to ''. The main menu opens without music.
The music “…” could not be loaded.
action:play:load_failed
A play music couldn’t load its file (The sound and The voice for play sound and play voice). File shows the address it tried and Reason why: the file isn’t there (The server answered 404, or a media error opened from a file), or the browser can’t decode it. Check the name in monogatari.assets(), the folder and the file name, capitals and extension included. The game goes on without the track.
“…” is not a kind of audio.
action:play:invalid_type
The word after play isn’t music, sound or voice ('play musik theme'). Fix the typo. The game goes on.
The game’s storage could not be opened
engine:storage:open_failed
The browser refused to open the storage your game keeps its saves and preferences in, so nothing can be saved or loaded. Error is the browser’s reason. Check Name, Version and Storage in js/options.js: IndexedDB needs a Name. A private window or a browser set to keep no site data can refuse too. The save and load screens show no saves.
The Version “…” can’t be used with IndexedDB
engine:storage:invalid_version
Version is 0.0.0, empty, or not a version, and IndexedDB needs one above 0.0.0. The game still saves, at IndexedDB’s lowest version. Set a real Version, like '0.1.0', before you release your game.
The Version … is lower than the version of the saved data
engine:storage:version_lowered
Version went down since the player’s data was saved. The game goes on with the data at its version, so the player keeps their saves. Set Version back to the version the dialog names, or higher: once a game is released, its Version only goes up. See Storage Engines.
The store “…” is not in the game’s database
engine:storage:store_not_found
The Storage setting’s Store changed since the player’s data was saved in IndexedDB, which can’t add a store to a database that exists. When the database has one store, the game goes on with it (Store Used), so the saves stay. Set Store back to that name.
The upgrade of the saved data to version … failed
engine:storage:upgrade_failed
The storage function of a monogatari.upgrade() call threw the Error shown. Nothing changed: the data and its version are as they were, and the game can’t save until the upgrade works. Fix the function; it gets every saved key and returns an object. See Releasing a new version.
The upgrade from … to … was registered too late
engine:storage:upgrade_too_late
monogatari.upgrade() ran after the game opened its storage, so that upgrade never runs. Call it in one of your game’s files, outside the function you give to monogatari.init().
The slot “…” has no saved game
engine:storage:slot_not_found
monogatari.loadFromSlot() got the name of a slot that has no save. It takes the whole name, like Save_1 or AutoSave_2. The game stays as it was.
The save in “…” is at a label your script no longer has
engine:storage:slot_label_not_found
The player picked a save made at a label your script no longer has, renamed or deleted in an update. The save doesn’t load and the game stays as it was. Give the label its old name back, or add a label with the old name that jumps to the new one. See Keep saves working when you update your game.
FileSystem storage requires a desktop environment
engine:storage:filesystem_no_bridge
The Storage setting’s Adapter is FileSystem, which only works in the desktop builds, and the game runs in a browser. The game uses IndexedDB instead. Use IndexedDB for the web.
The desktop app did not answer a storage request
engine:storage:filesystem_no_answer
The Storage setting’s Adapter is FileSystem, and the desktop app didn’t answer the game’s first request for its data within 5 seconds. The desktop files in your engine/ folder don’t handle storage requests: those from before Monogatari 2.9.0 don’t. Request names the request. The game keeps its data in IndexedDB from then on, so it stays playable and saves. Copy engine/desktop/ and engine/electron/ (or engine/electrobun/) from the current starter game into your game, or set Adapter to 'IndexedDB'.

Your own actions and components

These come from code that extends the engine: an action, a component or a listener of your own. See Extending Monogatari.

Title What it means and what to do
Unable to register component “…”
engine:component:already_registered
monogatari.registerComponent() ran after monogatari.init() for a tag that’s already in use, or for a tag the page already defined some other way. The engine keeps the component it had. Register your component before init(), outside the $_ready function in js/main.js. Component names your component’s class, and Tag its tag.
Unable to unregister component “…”
engine:component:unregister_after_setup
monogatari.unregisterComponent() ran after monogatari.init(). Components can only be removed before it.
The screen “…” is not in the page
engine:screen:not_found
A button or your code opened a screen that has no element in index.html: a typo in a button’s open value, or a screen component whose tag isn’t inside <visual-novel>. The current screen stays open. Add the element (<about-screen></about-screen> for the screen about), or fix the name.
Error in component <…> during …
engine:component:lifecycle_error
A component’s code threw an error while it was added to the page or drawn (connectedCallback, render and the other life-cycle steps). Error Message and Stack Trace say where. The engine’s own components open it too, when something they rely on fails, like the save list above.
An error occurred while trying to execute a shouldProceed function.
engine:lifecycle:should_proceed_error
An action’s or component’s shouldProceed() threw before returning a promise, or didn’t return one. A method written without async that returns nothing gives Error Message Cannot read properties of undefined (reading 'then'). Make it async. The game moves on anyway.
An error occurred while trying to execute a willProceed function.
engine:lifecycle:will_proceed_error
An action’s or component’s willProceed() threw or rejected. When it threw before returning a promise, the game moves on anyway; when its promise rejected, the game stays where it was, and the next click tries again.
An error occurred while trying to execute a shouldRollback function.
engine:lifecycle:should_rollback_error
The same for shouldRollback(), when the player goes back. The game goes back anyway.
An error occurred while trying to execute a willRollback function.
engine:lifecycle:will_rollback_error
The same for willRollback(), when the player goes back: when it threw, the game goes back anyway; when its promise rejected, the game stays where it was.
Main element is not ready yet
engine:element:not_ready
Code used the game’s element before the page created it: in js/main.js, a call like monogatari.on() outside the $_ready function. Move the code inside $_ready, or inside the function monogatari.init() runs when it’s done.

Errors that never open