-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught TypeError: e.data.search is not a function #68
Comments
Hmmm, I haven't seen this error yet. Could you share smashing version, Ruby version, whether you are customizing anything, or simply running the sample dashboard, etc? The more you can share about your set up, the easier will be for others to reproduce your issue. Cheers |
There are no customization done just created a new dashboard using $ smashing new new-board
$ cd new-board
$ bundle install
$ smashing start Environment:Ruby Version : ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16] Note: I'm using RVM to manage ruby. |
Working on Linux.
Executed the exact same commands, got the final output as
I have a Mac at work, and it should still have the old operating system installed along side Linux. Might be able to test next week, and perhaps try with ruby 2.4.x too. Thanks for the environment information! |
@kinow Just want to mentions that the errors are in the Browser's Javascript Console not in the Terminal. |
Oh, d'oh. It was obvious, sorry for the confusion. Will confitm if I get any similar errors. |
Nothing on the JS console for Chrome (same version reported above) or Firefox 53.0.3 (64-bit). Kept the dashboard running some minutes, played with the widgets, clicked everywhere, nothing. Firefox has just one simple warning: |
To complete, both browsers had the default dashboard showing. And in both, the JS console was set to verbose and to include all errors. |
I am seeing these errors as well. The number of errors correlates with the number of widgets displayed, but even if no Widget is defined in default.erb, the error occurs once. Also Chrome Version 58.0.3029.110 (64-bit) |
Hey @seenukarthi and @tobias--, sorry you're having issues. Can you please provide your smashing version? Run this and copy-paste the output: Mine looks like this:
|
It looks exactly like your output:
|
Are you using mac os too tobias--? |
@kinow, yes, I do. |
Thanks tobias--, as both users with this problem are on mac os, I wonder if there was any change from dashing to smashing 1.0.0 that caused this issue, or maybe the ruby version... |
I'm also using a mac, though I'm not yet on Sierra. Same version of Chrome also. A new dashboard loads for me. However, this appears to be the code that's failing for them: This is within batman.js -- it's not clear why it is broken... |
@tobias-- can you please try to access the dashboard in an incognito window, with all your chrome addons disabled? It seems this code relates to passing data via The only thing I can think of that could send a |
The errors were caused by an extension. In my case it was the developer extension augury. |
Added a page in our Wiki, under the Troubleshooting category https://github.com/Smashing/smashing/wiki/Uncaught-TypeError:-e.data.search-is-not-a-function +1 for closing this ticket? |
@kinow i can confirm that with out any plugin/extention this error is not occurring. Thanks. |
I Have create the sample dashboard using
smashing new
command. Everything works fine but there are lot of console error logs as below.The text was updated successfully, but these errors were encountered: