When I am trying to deploy a derivative function I get error: #1422
Replies: 1 comment 1 reply
-
my account: [email protected] |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
=== Deploying to 'georgia-tennis'...
i deploying functions
i functions: preparing codebase default for deployment
i functions: ensuring required API cloudfunctions.googleapis.com is enabled...
i functions: ensuring required API cloudbuild.googleapis.com is enabled...
i artifactregistry: ensuring required API artifactregistry.googleapis.com is enabled...
✔ functions: required API cloudfunctions.googleapis.com is enabled
✔ functions: required API cloudbuild.googleapis.com is enabled
✔ artifactregistry: required API artifactregistry.googleapis.com is enabled
Error: Failed to load function definition from source: Failed to generate manifest from function source: SyntaxError: Cannot use import statement outside a module
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
38
12:03:59:59
command: cd build/functionBuilder/builds/1694592182536; yarn deploy --project georgia-tennis --only functions
stderr: error Command failed with exit code 1.
errorStackTrace: Error: Command failed: cd build/functionBuilder/builds/1694592182536; yarn deploy --project georgia-tennis --only functions
error Command failed with exit code 1.
const derivative: Derivative = async ({ row, ref, db, storage, auth, logging }) => {
return "123";
}
listening on toggle field. Just like in video lesson: https://docs.rowy.io/field-types/derivative
Beta Was this translation helpful? Give feedback.
All reactions