-
-
Notifications
You must be signed in to change notification settings - Fork 603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not load worker TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided. #240
Comments
I solved this problem which is caused by a configuration in webpack.config.js. |
@dynastywind do you mind adding what you changed in case others run into this issue? |
@securingsincity Sure. I have below settings before with "mainFields" set to solve the commented problem. Actually it's copied from somewhere on Internet. This field breaks the working logic of react-ace's javascript-related modes. After I removed this field, my program is back to normal.
|
@securingsincity I faced the same issue. Is it possible to overcome it without modifying webpack.config? Because I have the project created using create-react-app and need to "eject" it to access webpack.config. |
I observed the same warning message on my console, but did not encounter any actual issues when using react-ace editor. It may be that I have not used it rigorously enough to notice anything. Can anybody tell me if there is a noticeable issue that comes with this warning message? |
@hans-permana Can you still use syntax check in the editor after you find this warning? I remember that there was no error sign popping up if I type something illegal in a JS file. |
Just found a workaround by adding following snippet to webpack config from thlorenz/brace#97
|
Does anyone know if this was ever filed as an issue with Ace? I'm running into this problem, but it's occurring during Mocha testing instead of normal rendering, and fiddling with the webpack doesn't fix it. :( |
bump. running into the same issue w/ |
Problem
I'm using react-ace in my project but encounter a problem:
This problem only occur when I use modes that is related to javascript (javascript, coffee, etc.)
Sample code
I've tried everything I can come up with. Is there anyone who can help to solve this problem? Thanks!
The text was updated successfully, but these errors were encountered: