當我點擊一個項目在web上打開時會發生以下錯誤。我們中的任何人都可以知道解決方案嗎?如何解決這個Javascript錯誤TypeError:'undefined'不是一個對象(評估't.subscribe')?
Error: test_inline_edit_an_item_app_built_via_app_builder(TaskFeature): Capybara::Poltergeist::JavascriptError: One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details).
TypeError: 'undefined' is not an object (evaluating 't.subscribe') at https://d3tga9h80dykic.cloudfront.net/assets/cd319648/podio-common-amd.js:1 /home/abhay/.rvm/gems/ruby-1.9.3-p362/gems/poltergeist-1.1.0/lib/capybara/poltergeist/browser.rb:197:in command' /home/abhay/.rvm/gems/ruby-1.9.3-p362/gems/poltergeist-1.1.0/lib/capybara/poltergeist/browser.rb:42:infind' /home/abhay/.rvm/gems/ruby-1.9.3-p362/gems/poltergeist-1.1.0/lib/capybara/poltergeist/driver.rb:110:in find' /home/abhay/.rvm/gems/ruby-1.9.3-p362/gems/capybara-2.0.2/lib/capybara/node/finders.rb:113:inblock in all' /home/abhay/.rvm/gems/ruby-1.9.3-p362/gems/capybara-2.0.2/lib/capybara/node/base.rb:78:in synchronize' /home/abhay/.rvm/gems/ruby-1.9.3-p362/gems/capybara-2.0.2/lib/capybara/node/finders.rb:112:inall' /home/abhay/.rvm/gems/ruby-1.9.3-p362/gems/capybara-2.0.2/lib/capybara/node/finders.rb:26:in block in find' /home/abhay/.rvm/gems/ruby-1.9.3-p362/gems/capybara-2.0.2/lib/capybara/node/base.rb:78:insynchronize' /home/abhay/.rvm/gems/ruby-1.9.3-p362/gems/capybara-2.0.2/lib/capybara/node/finders.rb:26:in find' /home/abhay/.rvm/gems/ruby-1.9.3-p362/gems/capybara-2.0.2/lib/capybara/session.rb:341:inblock (2 levels) in class:Session' /home/abhay/.rvm/gems/ruby-1.9.3-p362/gems/capybara-2.0.2/lib/capybara/dsl.rb:51:in block (2 levels) in ' task_feature.rb:489:inblock in test_inline_edit_an_item_app_built_via_app_builder' /home/abhay/podio/auto_deetee/auto_deetee/test/test_helper.rb:69:in login_as' task_feature.rb:473:intest_inline_edit_an_item_app_built_via_app_builder'
1測試,0斷言,0失敗,1個錯誤,0跳過
您還沒有提供任何足夠的資料讓人們輕易的幫助到你。這是您點擊的自己的應用程序嗎?如果是,那麼你需要向人們展示一些相關的代碼。如果不是,那麼恐怕這不是一個您可以隨時隨地在互聯網上遇到的任何問題尋求幫助的地方。 – Raad 2013-03-01 10:31:10
實際上,我曾經提到過,由於代碼和沒有代碼錯誤,我沒有發現這種情況。我會告訴你哪個代碼?你能問我在哪個地方需要詳細的信息嗎? – NarendraC 2013-03-01 11:12:18
單擊該項目的網頁地址將是一個好的開始 - 但是,正如我已經提到的,StackOverflow並不是針對互聯網上隨機站點的任何問題的常規幫助臺站點。 – Raad 2013-03-01 11:16:43