0

我正在创建一个 Gmail 插件,由于某种原因,当我保存代码时 AppScript 已停止更新。直到上周我都会进行更改,保存我的代码,刷新 Gmail 添加更新将在那里。该插件使用 HEAD 版本作为开发人员插件安装。

第一个问题,进行更改后我是否必须重新部署或其他任何东西?据我在文档中看到的,上述方法应该可以正常工作。

我正在使用 Google Oauth2 库登录到外部服务。上周一切正常,现在我刚刚注意到执行提示中出现了这些错误......

Method Properties.deleteProperty invoked in the global scope. File: Storage Line: 125 This function invocation will fail when the script is run as an Add-on in AuthMode.NONE.

Method Cache.remove invoked in the global scope. File: Storage Line: 127 This function invocation will fail when the script is run as an Add-on in AuthMode.NONE.

Method ScriptApp.getScriptId invoked in the global scope. File: Service Line: 36 This function invocation will fail when the script is run as an Add-on in AuthMode.NONE.

我也无权访问错误所指的文件,但我应该如何修复它们?

此外,如果执行提示中存在错误,是否会阻止对代码进行任何更新?这就是我看不到我的更新的原因吗?

我知道更新不起作用,因为我在以前的日志中没有看到任何内容。

非常感谢任何帮助。我花了几个小时浏览文档、SO 和问题跟踪器试图解决这个问题。

4

0 回答 0