Rails 3.2.3 JavaScript突然停止工作 [英] Rails 3.2.3 JavaScript suddenly stopped working

查看:112
本文介绍了Rails 3.2.3 JavaScript突然停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不确定这是怎么发生或为什么发生,但是如果有人可以提出建议,我将非常感激.我可以在控制台中输入任何内容以弄清楚为什么它不起作用吗?我尝试了几次捆绑更新",然后重新启动了服务器,但是没有任何反应.

I'm not sure how or why this happened, but if anyone could suggest a course of action, I'd really appreciate it. Is there anything I can type into the console to figure out why it's not working? I've tried 'bundle update' a few times and restarted my server, but nothing's working.

推荐答案

因此,我发现了问题所在:我的XXXXXXX.js.coffee文件之一出现了coffeescript错误.通过在chrome的javascript控制台打开的情况下重新加载页面,我发现了问题所在.它记录了一个错误,并调出了文件.我打开了文件并修复了错误.

So, I found out what was wrong: I had a coffeescript error in one of my XXXXXXX.js.coffee files. I found out this was the problem by reloading the page with chrome's javascript console open. It logged an error and called out the file. I opened the file and fixed the error.

这篇关于Rails 3.2.3 JavaScript突然停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆