Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://localhost:9000/worker-html.js' failed to load
问题 I am using Ace Editor in my Angular application. It is defined here - https://www.npmjs.com/package/ng2-ace-editor Usage: .html <ace-editor id="editor" class="form-control" formControlName="answer" [ngClass]="validateField('answer')" [(text)]="text"></ace-editor> .ts ngAfterViewInit(){ this.editor = ace.edit('editor'); ace.config.set('basePath', '/assets/ui/'); ace.config.set('modePath', '/assets/ui/'); ace.config.set('themePath', '/assets/ui/'); ace.config.setModuleUrl('ace/mode/php_worker',