npm uninstall brace
npm install [email protected] ace-builds
For example replace
import 'brace/mode/html'
import 'brace/theme/monokai'
import 'brace/snippets/html'
with
import 'ace-builds/src-noconflict/mode-html'
import 'ace-builds/src-noconflict/theme-monokai'
import 'ace-builds/src-noconflict/snippets/html'
See the discussion here: #725
If autocomplete or validation features are not working or you see an error message in the console regarding the ace-build worker, you may need to configure it to load properly using webpack or point to a CDN copy of the worker.