remix-run/remix

Documented errors, page 3 of 3. Back to remix-run/remix

Code / MessageTypeSeverityTags
RMX_CONFIG_NOT_FOUND
Could not find Remix configuration file
error_code error cli, config, file-not-found
Target directory is not empty
exception warning cli, scaffolding, filesystem
files.globalTransforms
validation error config, files, transforms, validation
Ambiguous migration target
exception error migrations, ambiguous-target, naming
Relation key mismatch between
exception error data-table, relations, join
ERR_INVALID_ARG_VALUE
The argument 'error' may not be an empty object. Received
validation error assert, invalid-arg-value, validation
Expected a file path or file:// URL, received
validation error scripts, compiler, url, paths, assets
Cannot install context property
exception error request-context, fetch-router, middleware
mounts values must not overlap. Received
validation error config, routes, mounts, paths
Detected a route map cycle at
exception error routes, cycle, config
must include at least one extension
validation error config, validation, assets
fingerprint.buildId must be a string
validation error config, fingerprinting, validation, asset-server
Invalid migration directory name
exception error migrations, naming-convention, validation
requires a mock function with a .mock.calls property
exception error cli, database, option-validation
Cannot install context property
exception error request-context, fetch-router, middleware
must be an array
validation error config, validation, assets
Target path is not a directory
exception error cli, scaffolding, filesystem
Cannot install context property
exception error request-context, fetch-router, middleware
RMX_ROUTES_FILE_NOT_FOUND
Could not find app/routes.ts. Run this command inside a Remix app.
error_code error cli, routes, project-not-found
`remix db ` destroys data in the current app database.
exception warning cli, database, safety-confirm
RMX_TARGET_DIRECTORY_NOT_EMPTY
Target directory is not empty
error_code error cli, filesystem, scaffold
Unknown completion shell
exception error cli, completion, shell
Duplicate migration id
exception error migrations, duplicate-id, registry
invalid request method in bypass pattern
exception error cop-middleware, bypass, http-method, validation
Missing key " " for primary key lookup on
exception error data-table, primary-key, lookup
mounts must include at least one entry
validation error cli, test, option-validation
Invalid route map value at
exception error routes, config, validation
Session cookie must be signed
validation critical session, cookie, security, middleware
Expected a Remix config file or directory
exception error config, filesystem, cli
files.extensions values must be strings
validation error config, files, validation, extensions
fingerprint.buildId must be a non-empty string
validation error config, fingerprinting, validation, build-id
--config requires a value.
exception error cli, arguments, config
Unknown column " " in option " " for table
exception error data-table, schema, options
Doctor fix path resolves outside the app root
exception error cli, doctor, path-traversal, app-root
Table " " primaryKey must contain at least one column
exception error data-table, primary-key, schema
Option " " for table " " must not be empty
exception error data-table, schema, options
hmr requires watch mode
validation error cli, routes, flag-conflict
Unknown migration target
exception error migrations, unknown-target, options-validation
Route-map loader returned an invalid route node.
exception error routes, worker, internal, validation
Unknown command: db
exception error cli, database, arguments
RMX_TARGET_PATH_NOT_DIRECTORY
Target path is not a directory
error_code error cli, filesystem, invalid-path
invalid origin : path, query, and fragment are not allowed
validation error cop-middleware, security, origin, url-parsing
invalid origin : trailing slash is not allowed
validation error cop-middleware, security, origin, url-parsing
Options --step and --to are mutually exclusive
exception error cli, database, arguments, mutually-exclusive
hmr must be provided
validation error cli, routes, flag-conflict
`remix assets inspect` requires a URL or file path.
exception error cli, assets, arguments
trusted origin must not be empty
validation error cop-middleware, security, origin, validation
Table " " primaryKey column " " does not exist
exception error data-table, primary-key, schema
files.transforms must be an object
validation error config, files, transforms, validation
invalid origin
validation error cop-middleware, security, origin, url-parsing
Cannot install an empty context property name.
exception error request-context, fetch-router, middleware
Route-map loader returned invalid children for
exception error routes, worker, internal, validation
Route-map loader returned an unknown node kind for
exception error routes, worker, internal, validation
Route-map loader returned an invalid route leaf for
exception error routes, worker, internal, validation
Route-map loader returned a route node without a valid name.
exception error routes, worker, internal, validation
Unknown command: assets
exception error cli, assets, arguments