-
Notifications
You must be signed in to change notification settings - Fork 453
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
Failed to load 'node-red-dashboard/ui_base' #402
Comments
not seen that here (yet). Is the browser running on the Pi ? I assume not as you also mention IE. |
May be your issue same mine. I cannot see the dashboard /ui after finishing the project even I can see the dashboard items on the left side |
Same issue here with Google Chrome. Funny thing when I am using Safari it works fine. |
Any more reports of this ? anyone able to recreate this ? |
Love your work 👍 Not sure it is the same, but certainly a look-a-like :-) For me it went wrong between 2.9.6 and 2.9.7, and as you dont have dates in your changelog I dont know if it fits above complaint ( Dates would be handy ). I am using a docker image on Orange Pi One with latest armbian and a self build image, based on : arm32v7/node:10.9.0-slim which is based on debian:jessie-slim I upgraded a few days ago to Dashboard version 2.9.7 and lost the ui in Windows10 Internet Explorer 11, while FF and Edge on same machine worked fine. I made a second docker image where I forced a downgrade to Dashboard version 2.9.6 and the ui worked again for IE11 ( Everything 100% the same, except dashboard version ) I also got today a Dashboard version 2.9.8, same problem. There is some caching going on, that confuses things, so close/open explorer and paste basic url (.../ui for every test ! refresh is not enough) Creating AppCache with manifest: 'http://192.168.X.X:1880/ui/dashboard.appcache'. Hope this helps repairing ? |
Looks like this http://techcater.com/object-doesnt-support-property-or-method-assign/ |
Hi, |
Hmm, never used that block, never needed it, no idea what it does ;-) But tried your suggestion, but could not get that to work, but I am not an expert, just a simple user. So what should I do with the original content " "I tried above, and below, but it always shows a red cross in editor the margin, "Expected Tag name. Got something else instead" Although I can save. So it is over my head, I would appreciate if you could have a look. |
Can you try importing this node below - it's that template node with the "fix" from that website entered into it. I don't have IE11 to hand, and am out of the office for a trip, so am hoping you can test for me.
|
I appreciate that you try to solve asap, but as said, 2.9.6 works, so take your time, no problem. Have a nice trip But I am always willing to test for you, no problem, the least I can do ;) OK, so I did understand you correctly, but that does not work at this line : for (var index = 1; index < arguments.length; index++) { |
Hi - OK - have pushed a test fix to master... you can install it by
fingers crossed |
Hi, Sorry to ask, but are you sure you did the push ? I still get Dashboard version 2.9.8 started at /ui , same as Sept 4, but I expected 2.9.9 or so ? Anyway my new container with 2.9.8, has the same "assign" problem : is not solved. |
no - it's in master not on npm so in package.json you need
it's still 2.9.8 - and you will need to flush your browser cache - ctrl-r to reload a couple of times. |
all new to me, OK, But I see no difference, still white screen and error on IE, works fine on Edge / FF. TypeError: Object doesn't support property or method 'assign' |
I got another IE problem : sizing of a bar chart after opening, Ill put it in a new thread, ok? |
You still need to flush your cache... and feel free not to use IE11 :-) |
Yes flushed, also via the menu's, Not using IE ? Yes sure, but I use Firefox for internet, with adblock clear history, block / delete cookies etc, etc, making it slower and forgetfull. My IE has no internet access (ZoneAlarm) also no additions mentioned above, making it work very fast and remembers some stuff. Isn't everybody doing that than, to have some protection :-) ? Should ! Ok, so can we try something else ? What did you change between 2.9.6 and 2.9.7 that could cause this, because that is where the problem started ? |
I believe it is now fixed - and is in github as per above. I'm not sure why you can't get it to refresh properly. It will be released to npm as part of 2.9.9 as and when. |
pushed a version 2.9.9-beta to master |
Good news : I now see "Dashboard version 2.9.9-beta started at /ui" and IE now works !!! Coming days I will upgrade all my node-reds and see if they all work. I hope that the other guys above can also confirm that their problems are solved. |
will push out 2.9.9 to npm probably later this week - so everyone can get more easily. |
Yes, I had to add git, 64 libs and 50MB to my image :-) |
errrr - hmm - apologies for that ... maybe leave the others if you can wait. |
No problem for me man, just poking you a bit to quickly release, so others can test also :-) If you dont use docker, you really have a look ! Rolling out a new version for me is just building a new image (automated), and then changing 1 string (tag) in a bash script and the new docker image is started. If it fails, again just changing a string and we are running the previous version docker image again. Ideal. Once you pushed out the final release, I just upgrade to a new docker image, hardly any work, certainly compared with the traditional Linux way. I love docker as you can imagine, cant live without it anymore. |
Tested all dashboard variants I use (not all node-reds machines yet, but all remaing have the same dashboard code), all look fine. |
I have had this happen on two fairly new installs on Rasbian Stretch, so I am not sure if it is a bug or something I am breaking.
Node-Red itself seems to be working fine, but after some period of time after rebooting, I lose the dashboard tab on the right next to "debug". I also get a warning at the top of the browser on initial load that says:
"Failed to load 'node-red-dashboard/ui_base'"
"TypeError: $.widget is not a function"
I tried so many combinations of npm install/reinstall, with and without -g with no change in the problem.
node.js version: v8.11.2
Problem occurs with both Chrome and IE.
I did find a ui_base,js and ui_base.html:
pi@hahub:~/.node-red/node_modules/node-red-dashboard/nodes $ ls -l ui_base*
-rw-r--r-- 1 pi pi 115540 May 23 21:18 ui_base.html
-rw-r--r-- 1 pi pi 3736 May 18 07:57 ui_base.js
No idea what I am looking at, but also found this:
pi@hahub:~/.node-red/node_modules/node-red-dashboard/nodes $ grep $.widget ui_base*
ui_base.html: $.widget("nodereddashboard.elementSizerByNum", {
ui_base.html: $.widget( "nodereddashboard.elementSizer", {
Any ideas on what is happening or what I am doing to break it? And, how to fix?
The text was updated successfully, but these errors were encountered: