Skip to content

🐛 Bug Report: Use Default Build Commands #6428

@ItzNotABug

Description

@ItzNotABug

👟 Reproduction steps

If there are no build commands passed, e.g. npm install, the build will succeed but the execution will fail because the dependencies are not loaded.

See -

  1. Successful Build (check the build size, no dependencies are loaded)-
Screenshot 2023-10-02 at 1 43 13 PM
  1. Execution Failed -
Screenshot 2023-10-02 at 1 45 25 PM

This makes the optional command, not so optional as we must pass a build command.

👍 Expected behavior

Runtime should check & handle this behaviour and simply call a relevant build command if one doesn't exist for the function.

👎 Actual Behavior

Execution fails.

🎲 Appwrite version

Version 1.4.x

💻 Operating system

Linux

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingproduct / functionsFixes and upgrades for the Appwrite Functions.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions