Skip to content

Push giving error with nested Functions #283

@albert-sun

Description

@albert-sun

Created a new Realms application, initialized an example function named test/create using the example code located here, then pulled the remote using realm-cli. cding into the application directory and then immediately running realm-cli push --remote="remote-id" gives the error push failed: resource name can only contain ASCII letters, numbers, and underscores. Re-configuring both the functions config JSON and function source to not be nested (moved to create.js from test/create.js within the functions directory) succeeds - it seems like realm-cli isn't configured to handle nested functions when pushing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions