Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push giving error with nested Functions #283

Open
albert-sun opened this issue Mar 26, 2022 · 1 comment
Open

Push giving error with nested Functions #283

albert-sun opened this issue Mar 26, 2022 · 1 comment

Comments

@albert-sun
Copy link

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.

@monkeydeus
Copy link

encountering same issue. Would add that when creating a function named "utils/" in the UI, then pulling, will show the function to be nested in a utils folder, as expected. Can't push back up what I pulled down however, bc of this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants