[SOLVED] noVNC script error (version 5.0)

ressel

Renowned Member
Mar 7, 2010
74
0
71
noVNC encountered an error:
Script error.

When I start console I get this error, do any of you know how to remove it?

I have just updated my system to proxmox 5.0

upload_2017-7-12_20-36-39.png
 
When I start console I get this error, do any of you know how to remove it?
can you open the javascript console of your browser and post the error messages from there?
i have seen this with "bad" browser extensions, which generate javascript errors, maybe you have some?
 
After update 4.4 to 5.0
noVNC encountered an error.
firefox 28

How to find whats wrong?
 
Found a error in FF js console:
SyntaxError: let is a reserved identifier app.js:318
there is the code
Code:
let node = elem.childNodes[i];

I change /usr/share/novnc-pve/index.html.tpl
this way:
Code:
    <!-- begin scripts -->
    <script type="application/javascript;version=1.7" src="/novnc/app.js"></script>
    <!-- end scripts -->
and NoVNC show the VM console.

And now new problem - not working keyboard.
no numbers buttons worked, no alphabet buttons, only "/*-+", space and del buttons work.

I will remind it is on FireFox 28, on IE all work fine.

Any considerations?
 
Last edited: