Back
How can I use "git submodule update --init --recursive" in Build commands Of Appwrite Cloud Function
- 0
- General
- Functions
- Cloud
I have dart function, In my git repository. I have .gitsubmodules so I want to download it. before actually deploying function. I have tried below Build commands but failed
TypeScript
git submodule update --init --recursive && dart pub get
Logs when function deploying
TypeScript
Preparing for build ...
Resolving dependencies...
Downloading packages...
+ async 2.13.0
+ boolean_selector 2.1.2
+ collection 1.19.1
+ matcher 0.12.17
+ meta 1.16.0
+ path 1.9.1
+ pub_semver 2.2.0
+ pubspec 2.3.0 (discontinued replaced by pubspec_parse)
+ quiver 3.2.2
+ source_span 1.10.1
+ stack_trace 1.12.1
+ stream_channel 2.1.4
+ string_scanner 1.4.1
+ term_glyph 1.2.2
+ test_api 0.7.4
+ uri 1.0.0
+ yaml 3.1.3
Changed 17 dependencies!
1 package is discontinued.
found user package konnect_db_backend
added user package as dependency to server.
Updated server import of user code
Building ...
fatal: not a git repository (or any of the parent directories): .git
TL;DR
Developers want to use "git submodule update --init --recursive" in Build commands for Appwrite Cloud Function but ran into issues. The error message "fatal: not a git repository" indicates that the git repository is not detected during the build process. Make sure the git repository is properly initialized before running the command.Recommended threads
- Console: Query on attribute has greater ...
I noticed an issue when one of my tables reached over ~800 rows. That table is relational to my users table Within the console I am able to view the table with ...
- Appwrite docs mcp server 502 bad gateway
I added the appwrite docs mcp server to vscode following the docs https://appwrite.io/docs/tooling/mcp/vscode#step-1 but upon start it gives the following error...
- Query regarding hackathon sponsorship
We at our college were organising a hackathon and I was wondering whether appwrite would like to partner with us? We are from a student branch of IEEE. It is a...