【问题标题】:Mobile app moment is not a function移动应用时刻不是一项功能
【发布时间】:2017-11-17 06:14:55
【问题描述】:

我已将 SDK 更新到 6.3.0.GA 并开始收到“时刻不是函数”。我检查了资源文件夹,moment.js 是零字节。请帮助解决此问题。

【问题讨论】:

  • 您是否在干净重建后重试?还可以分享一些代码 sn-ps 和应用程序的目录结构,以便我们知道您正在正确使用代码。
  • 你是如何在代码中包含时刻的?

标签: titanium appcelerator appcelerator-mobile appcelerator-alloy


【解决方案1】:

清洁项目;删除构建和资源目录。再次构建项目,“moment is not a function”消失了

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-04-16
    • 1970-01-01
    • 2018-04-17
    • 2016-06-08
    • 1970-01-01
    • 1970-01-01
    • 2015-05-10
    相关资源
    最近更新 更多