Why do I keep getting errors in Magento 2?

Why do I keep getting errors in Magento 2?

For example Safari wouldn’t load the jQuery and I kept getting these errors in my console: defaultCaptcha.js:29 Uncaught TypeError: Cannot read property ‘captcha’ of undefined authentication-popup.js:26 Uncaught TypeError: Cannot read property ‘autocomplete’ of undefined (anonymous function)

Why does Magento not edit pub / static / frontend files?

Never edit pub/static/frontend files because they are generated files. Looks like the error is causing by the reference to autocomplete and captcha don’t exist when they are supposed to. Doing what obscure did remove the error for autocomplete.

Where are my CSS files in Magento 2?

When you do any changes in fewer files (_theme.less or _extend.less) it will automatically create style-l and style-m CSS files in pub/static folder. I’m running Magento 2.1 in windows 10. Remember to update file permissions after Magento creates these new static files. They are not owned by www-data, so they will give 404.

How to auto generate static files in Magento?

Magento will auto generate the static files for you when you load a page. You must run Xampp (apache, nginx) etc as Administrator to allow it to make Symlinks under Windows (tested with Windows 10). Highly active question. Earn 10 reputation (not counting the association bonus) in order to answer this question.

Why is there no CAPTCHA or autocomplete in Magento 2?

After the override files from the core you have to clean static files cache (even if all caches are disabled for default mode) in order to see the effect. Never edit pub/static/frontend files because they are generated files. Looks like the error is causing by the reference to autocomplete and captcha don’t exist when they are supposed to.