部署Rails应用程序时出现Heroku“ TypeError:o不是函数”问题

时间:2018-07-13 02:27:39

标签: ruby-on-rails heroku deployment

我有一个在本地运行的Rails应用程序。当我将其部署到heroku并尝试查看时,页面只是白色,在开发控制台中看到错误:

"TypeError: o is not a function
 at e (application-3cf416d1f738bfa0c9751b6f067d24ba462ae0d1fd10b7551c9f996491da5fbb.js:formatted:1134)
    at i (application-3cf416d1f738bfa0c9751b6f067d24ba462ae0d1fd10b7551c9f996491da5fbb.js:formatted:1085)
    at Object.merge (application-3cf416d1f738bfa0c9751b6f067d24ba462ae0d1fd10b7551c9f996491da5fbb.js:formatted:1137)
    at o.request (application-3cf416d1f738bfa0c9751b6f067d24ba462ae0d1fd10b7551c9f996491da5fbb.js:formatted:3919)
    at o.(/anonymous function) [as get] (https://syndicatorproto.herokuapp.com/assets/application-3cf416d1f738bfa0c9751b6f067d24ba462ae0d1fd10b7551c9f996491da5fbb.js:3:12554)
    at Function.get (application-3cf416d1f738bfa0c9751b6f067d24ba462ae0d1fd10b7551c9f996491da5fbb.js:formatted:2218)
    at n.value (application-3cf416d1f738bfa0c9751b6f067d24ba462ae0d1fd10b7551c9f996491da5fbb.js:formatted:8652)
    at er (application-3cf416d1f738bfa0c9751b6f067d24ba462ae0d1fd10b7551c9f996491da5fbb.js:formatted:12162)
    at Jn (application-3cf416d1f738bfa0c9751b6f067d24ba462ae0d1fd10b7551c9f996491da5fbb.js:formatted:11938)
    at Qn (application-3cf416d1f738bfa0c9751b6f067d24ba462ae0d1fd10b7551c9f996491da5fbb.js:formatted:11899)"

我不知道这个错误是什么,有人知道吗? Heroku日志未显示错误。

0 个答案:

没有答案