soundTricker / gas-manager

Google Apps Script Manager for nodejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't change type of existing file

xguntis opened this issue · comments

I can successfully download the code but not upload.

here is gas-project.json

{
  "src": {
    "fileId": "MMlYUu416vow80Zjsjiy-lhQ628Yks6X1",
    "files": {
      "Code": {
        "path": "/home/xguntis/Dropbox/Partneris/my_extensions/gss/test/src/Code.js",
        "type": "server_js"
      }
    }
  }
}

and here is the command i run and the response:

xguntis@EliteBook:~/Dropbox/Partneris/my_extensions/gss/test$ gas upload
can't change type of existing file

/usr/lib/node_modules/gas-manager/out/lib/commands/upload-command.js:91
        throw err;
              ^
{
 "error": {
  "code": 500,
  "message": null
 }
}

What am i doing wrong?

P.s. Many thanks for sharing this script. This is the only i could find to download GAS project to my Ubuntu box.

I get this error for files that don't exist as well.