Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular

    REMINDER

    Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.

    the cli takes my whole rootfolder to be a file

    Cloud Backend (Cloud DB, API Builder)
    2
    3
    128
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Linda MacDonald
      Linda MacDonald last edited by

      Hey there folks - I am trying to push a vue app to appdrag and I have tried pushing the dist folder and even the root folder and everytime it gives me the error message that I need to push a folder not a file: I used: appdrag fs push dist and then I tried the same command for my entire rootfolder, but same error

      1 Reply Last reply Reply Quote 0
      • Daniel Mulroy
        Daniel Mulroy last edited by

        @Linda-MacDonald I Think I know what the problem is, but can you screenshot your Terminal window that you're using for the upload?

        My suspicion is that you need to include a "/" at the end of your command like so:

        appdrag fs push dist/
        

        The forward slash, depending on your operating system, will tell the filesystem you want the contents of the folder, not the folder itself.

        1 Reply Last reply Reply Quote 0
        • Linda MacDonald
          Linda MacDonald last edited by

          hey there @Daniel-Mulroy 🙂 I took another look at it and as it turned out I did have a zip file which I uploaded...the app is running on appdrag 🙂 but for sure I'll try the / at the end next time cause it was rather peculiar error message and even more peculiar since it did what it was meant to do

          1 Reply Last reply Reply Quote 0
          • First post
            Last post