You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wanted to bring this potential bug to someone's attention. Trying to use ember-ace as part of an addon right now, and receiving this error when I try to test it out in the dummy app in ember s:
Unable to infer path to ace from script src, use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes or with webpack use ace/webpack-resolver
Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://localhost:9007/worker-json.js' failed to load.
at blob:http://localhost:9007/a491165c-9f7d-4ce5-adda-40b87025626d:1:1
Seems like it can't load the worker on localhost in this situation?
Discovered this issue when migrating some code from an existing application where everything works fine to an addon. Been trying to figure out what the issue is, and would appreciate any insight on this. Thanks!
The text was updated successfully, but these errors were encountered:
@cptran777@JamesWilmot I've got similiar error message, but in the application built with Ember 2.18 (also when serving with ember s). I ended with adding relative workerPath option to ember-cli-build:
'ace': {
workerPath: './assets/ace',
},
--- EDIT ---
Maybe you could just set any workerPath, because the message says that it could not get the worker path.
Hey folks,
Wanted to bring this potential bug to someone's attention. Trying to use ember-ace as part of an addon right now, and receiving this error when I try to test it out in the dummy app in
ember s
:Settings being used right now are:
and in the template:
Another issue that may be related is:
Seems like it can't load the worker on localhost in this situation?
Discovered this issue when migrating some code from an existing application where everything works fine to an addon. Been trying to figure out what the issue is, and would appreciate any insight on this. Thanks!
The text was updated successfully, but these errors were encountered: