Topic: Im trying to upload an existing project??
Expected behavior lets me upload
Actual behavior Could not process your request: --platform flag is required when publishing backend projects!
Resources (screenshots, code snippets etc.)
Sebastian Kaczmarek staff pro premium answered 4 years ago
When you publish a backend project you need to specify what technology do you use. At the moment MDB GO is not able to recognize that automatically (we are working on that).
For example, if you publish a Node.js project you would do it like this:
$ mdb backend publish -p node12
(assuming you use Node 12). The -p
flag is just a shorthand of --platform
.
Check the docs for more useful info: Getting Started - Backend | Command Reference
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB CLI / MDB GO
- MDB Version: 3.2.3
- Device: Laptop
- Browser: Firefox Developer Edition
- OS: Manjaro Linux
- Provided sample code: No
- Provided link: No