// EDIT:
This error was caused by the Firebug extension in Firefox.
I would recommend anyone that uses this ext to disable and remove it immediately!
From a fresh composer setup, I receive a lot of js errors in both the backend and frontend. In the backend this actually breaks the navigation, does not load the products or order grid, so pretty much completely breaks the backend.
I tried 2.1.0 and 2.1.1, both seem to have the exact same issues. 2.0.7 did not have these issues. No extra modules installed, just a clean, fresh composer setup. I tried deleting cache dirs and re-deploying the static-content, making sure the user and file permissions are correct, but the missing files are never generated. The browser cache was flushed and pages force reloaded:
BE errors:
404 Not Found:
/pub/static/adminhtml/Magento/backend/en_US/Magento_Ui/js/lib/registry/bindings.js
/pub/static/adminhtml/Magento/backend/en_US/Magento_Ui/js/lib/registry/dom-observer.js
and sometimes:
/pub/static/adminhtml/Magento/backend/template/renderer.js
JS:
TypeError: ko is undefined (knockout-es5.js (line 428, col 5))
ko.track = track;
TypeError: utils.extend is not a function (class.js (line 129, col 30))
child.defaults = utils.extend({}, parent.defaults || {});
These .js files are never even created in the above path in the magento-ui.
instead I think the files now reside in js/lib/view/utils/
instead of js/lib/registry/
. So the error may be in the Magento magento/module-ui version 100.1.0.
FrontEnd:
404 errors:
/pub/static/frontend/Magento/luma/en_US/Magento_Ui/js/lib/registry/bindings.js
/pub/static/frontend/Magento/luma/en_US/Magento_Ui/js/lib/registry/dom-observer.js
However, the FE errors dissapear after a few reloads, sometimes at least?
other error is the same as in the BE:
TypeError: utils.extend is not a function ( class.js (line 129, col 30) )
child.defaults = utils.extend({}, parent.defaults || {});
I have not been able to find any bug reports on this and no fixes.
Test System:
- Docker container Debian 8
- Server version: Apache/2.4.10 (Debian)
- PHP 5.6.24
- MySQL Community Server 5.6.32