Topic: Im trying to upload an existing project??

JoseDR120 free asked 3 years ago

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.) enter image description here

Sebastian Kaczmarek staff answered 3 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

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: 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