remix-run/remix
Documented errors, page 2 of 3. Back to remix-run/remix
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| ${message} | validation | error | assets, transforms, validation |
| Invalid value for table "' + tableName + '" | validation | error | data-table, validation, type-error, input-shape |
| Migration directory " " is missing up.sql | exception | error | data-table, migrations, missing-file, filesystem |
| values must use ".ext" format. Received " ". | validation | error | config, validation, assets, file-extensions |
| Invalid completion request. | exception | error | cli, completion, shell, internal |
RMX_ROUTE_OWNER_PLAN_UNRESOLVED Could not resolve a route owner plan | error_code | error | cli, routes, internal |
| createMany( ) is not supported by this database | exception | error | data-table, bulk-insert, returning, capabilities |
| files.cache must implement the FileStorage interface | validation | error | cache, validation, assets, duck-typing |
| invalid-hostname-variable | validation | error | route-pattern, href, hostname, url |
LOADER_FAILED Module loader failed for | error_code | error | module-loader, loader-chain, assets |
| must use version components between 0 and 255 | validation | error | config, validation, version-range |
| Postgres migration lock is already held by this database | exception | error | postgres, migration, lock, reentrancy |
| cascading component updates detected in one event loop… | console | warning | ui, scheduler, performance, hydration |
| ${errors.map((error) => error.message).join('\n')} | exception | error | typescript, transform, syntax-error |
| invalid-hostname-wildcard | validation | error | route-pattern, href, hostname, wildcard, url |
| Postgres migration lock was not held by the reserved… | exception | error | postgres, migration, advisory-lock, unlock |
| Cannot combine "to" and "step" migration options in the… | exception | error | cli, migrations, rollback, option-conflict |
| files.extensions values must use ".ext" format. Received | validation | error | config, files, extensions, format-validation |
| Migration checksum drift detected for | exception | critical | migrations, checksum, integrity, journal |
| next() called multiple times | exception | error | middleware, fetch-router, request-handling |
RMX_ROUTE_MAP_LOADER_INVALID_JSON Route-map loader returned invalid JSON | error_code | error | cli, routes, json |
| Exceeded maximum number of parts | exception | error | multipart, limits, part-count |
FILE_NOT_SUPPORTED File type is not supported | exception | error | assets, compiler, configuration |
| hmr must create a channel with an updateWatchedFiles… | validation | error | hmr, dev-server, file-watching, validation |
| onUpdate() requires references() to be set first | exception | error | schema, foreign-keys, column-builder, data-table |
| throw new AssertionError | exception | error | cli, database, config, file-not-found |
| render called after component was removed, potential… | console | warning | ui, memory-leak, render-lifecycle |
| invalid bypass pattern | exception | error | cop-middleware, bypass-pattern, wildcard, syntax |
| dangling escape | validation | error | route-pattern, parse, syntax, escaping |
| Postgres migration lock could not be acquired | exception | error | postgres, migration, advisory-lock, timeout |
| SQLite database cannot ' + method + ' while transactions… | exception | error | sqlite, transaction, lifecycle, driver |
| Cannot compare matches for different URLs | validation | error | route-pattern, specificity, compare |
| Could not resolve dependency | validation | warning | cli, help, unknown-command |
| upsert requires at least one value | exception | error | data-table, mysql, upsert, validation, sql-compiler |
ERR_INVALID_ARG_TYPE The "error" argument must be of type function or an instance of Error, RegExp… | validation | error | assert, invalid-arg, validation |
| mounts values must be relative to rootDir. Received | validation | error | config, routes, mounts, paths, assets |
| No router found in request context. | exception | error | request-context, fetch-router, testing |
| onDelete() requires references() to be set first | exception | error | schema, foreign-keys, column-builder, data-table |
| empty optional | validation | error | route-pattern, parse, syntax, optional-segments |
| Expected at most request transforms | validation | error | assets, transforms, limits, validation |
| files.extensions cannot include compiled asset extensions… | validation | error | config, files, extensions, reserved |
| Invalid browser HMR channel port | validation | error | node-hmr, port, validation, config |
| invalid bypass pattern | exception | error | cop-middleware, bypass-pattern, wildcard, validation |
| Could not determine an app name from the target directory. | exception | error | cli, scaffolding, filesystem |
| Context property name must be a string. | exception | error | request-context, fetch-router, middleware |
| SQLite config-based construction requires node:sqlite… | exception | error | sqlite, node-version, runtime, driver |
| Multipart boundary exceeds maximum length of | validation | error | multipart, boundary, rfc-2046, validation |
RMX_UNKNOWN_ARGUMENT Unknown argument | validation | error | cli, arguments, boolean-flag |
| Table " " must include an "id" column or an explicit… | exception | error | data-table, primary-key, schema |
| files.transforms. .param must be true or "optional | validation | error | config, files, transforms, param, validation |
| Invalid Content-Type header: missing boundary | validation | error | multipart, node, boundary, content-type |
| basePath must be a string | validation | error | config, validation, asset-server, basepath |
| Postgres connection string must be a valid URL to resolve… | exception | error | postgres, connection-string, url, config |
| Composite primary keys require an object value | exception | error | data-table, primary-key, lookup |
| expect(received).toThrow() requires a function | exception | error | cli, database, config, schema-validation |
| SQLite database + method + () requires config-based… | exception | error | sqlite, driver, config, construction |
| must be an object | validation | error | config, build, target, validation, assets |
| must use "X", "X.Y", or "X.Y.Z" version format | validation | error | config, validation, version-format |
| Postgres database cannot + method + while transactions… | exception | error | postgres, transaction, lifecycle, driver |
| Could not resolve allowed package | validation | warning | cli, help, unknown-command |
| Postgres database config requires a database name | exception | error | postgres, config, env-var, database-name |
| hmr must be a function | validation | error | cli, test, option-validation |
| invalid bypass pattern | exception | error | cop-middleware, bypass-pattern, wildcard, validation |
| missing-params | validation | error | route-pattern, href, params |
| must be a non-empty string | validation | error | config, validation, empty-string |
| unmatched ) | validation | error | route-pattern, parse, syntax |
| Resolved path escapes the allowed root | exception | error | path-traversal, filesystem, security, cli |
| Route-map loader returned an invalid tree. | exception | error | routes, worker, internal, version-mismatch |
| Duplicate keys detected in siblings | console | warning | ui, reconciliation, keys, duplicate-keys |
| hmr must create a channel with an onFileEvents function | validation | error | hmr, dev-server, file-watching, validation |
ERR_INVALID_RETURN_VALUE Expected instance of Promise to be returned from the "promiseFn" function but… | validation | error | assert, promise, invalid-return |
| expected promise to resolve, but it rejected with | exception | error | cli, database, migrations, config |
| Middleware must return a Response or call next() | exception | error | middleware, fetch-router, request-handling |
| unmatched ( | validation | error | route-pattern, parse, syntax |
| files.transforms. must define a transform() function | validation | error | config, files, transforms, validation |
| Missing app/routes.ts path. | exception | error | cli, worker, routes, internal |
RMX_MISSING_OPTION_VALUE requires a value. | validation | error | cli, arguments, missing-value |
| Migration script declares more than one transaction… | exception | error | migrations, parse-error, duplicate-directive |
| missing variable name | validation | error | route-pattern, parse, syntax, params |
| update() failed to find row for table "' +… | exception | error | data-table, update, not-found, concurrency |
| fingerprint cannot be used with watch mode | validation | error | config, fingerprinting, watch-mode, conflicting-options |
| invalid bypass pattern | exception | error | cop-middleware, bypass-pattern, wildcard, validation |
| must use a single numeric year like "2020 | validation | error | config, validation, es-version |
| files.transforms keys must use "transform-name" format… | validation | error | config, files, transforms, naming |
| expected promise to reject, but it resolved with | exception | error | cli, database, seed, config |
| files.globalTransforms | validation | error | config, files, transforms, naming, validation |
| . is not a supported target | validation | error | config, build, target, validation, assets, typo |
| Route module must export a named "routes" value. | exception | error | routes, config, cli, migration |
| Asset configuration is missing from remix.json. | exception | error | cli, assets, config |
RMX_UNEXPECTED_ARGUMENT Unexpected extra argument | validation | error | cli, arguments, positional |
| invalid-pathname-variable | validation | error | route-pattern, href, params, pathname |
| Could not derive a valid package name from | exception | error | cli, scaffolding, package-name, validation |
| Cannot specify both "only" and "exclude" options | validation | error | fetch-router, routes, options |
| files.globalTransforms must be an array | validation | error | config, files, transforms, validation |
| mounts keys must not overlap. Received | validation | error | config, routes, mounts, url |
| Invalid migration step option. Expected a positive integer. | validation | error | migrations, options-validation, cli |
RMX_ROUTE_MAP_LOADER_SIGNAL Route-map loader exited from a signal | error_code | error | cli, process-crash, signal |
| files.extensions must be an array | validation | error | config, files, validation, extensions |
| files.globalTransforms | validation | error | config, files, transforms, validation |
| Invalid route map value at | exception | error | routes, config, validation |