【问题标题】:Sencha Command + Error evaluating http://localhost/Production/app.js with message: TypeError: Cannot call method 'substring' of undefinedSencha 命令 + 错误评估 http://localhost/Production/app.js 并显示消息:TypeError: Cannot call method 'substring' of undefined
【发布时间】:2013-02-08 18:49:25
【问题描述】:

我在这里试图找出如何解决这个小问题。

我一直在使用 Sencha Touch v2.1 来创建我所有的视图和内容。 之后,我开始使用 Sencha Command v3.0.0.250 来提高我的应用程序的性能,但是在 Sencha C. 自己做生意并尝试打开 index.html(抛出 IIS)之后发生类似的事情。 (使用铬)

“使用消息评估 http://localhost/Production/app.js 时出错:TypeError: Cannot call method 'substring' of undefined”

怎么了?子串在说什么?

提前致谢!

【问题讨论】:

  • 我忘记补充说我正在使用命令:“sencha app build production”。我已经进行了“sencha 应用程序构建测试”,我没有工作,但没有发生错误:S WTF 是怎么回事? Thnx 在高级!

标签: extjs command substring


【解决方案1】:

确保您在控制台中没有看到任何警告消息,因为您必须在构建它之前添加requires,然后是您将使用的类。

【讨论】:

    猜你喜欢
    • 2013-05-02
    • 1970-01-01
    • 1970-01-01
    • 2013-01-15
    • 1970-01-01
    • 2023-03-09
    • 2021-11-25
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多