Could not load worker TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.
See original GitHub issueProblem
I’m using react-ace in my project but encounter a problem:
Could not load worker TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.
at new WorkerClient (index.js:16800)
at Mode.createWorker (javascript.js:1029)
at EditSession.$startWorker (index.js:9120)
at EditSession.$onChangeMode (index.js:9076)
at EditSession.<anonymous> (index.js:9057)
at AppConfig.exports.loadModule (index.js:3684)
at EditSession.setMode (index.js:9046)
at ReactAce.componentDidMount (ace.js:93)
at ReactCompositeComponent.js:264
at measureLifeCyclePerf (ReactCompositeComponent.js:75)
This problem only occur when I use modes that is related to javascript (javascript, coffee, etc.)
Sample code
import AceEditor from "react-ace";
import 'brace';
import 'brace/mode/javascript';
import 'brace/theme/github';
class Test extends React.Component<any, any> {
render() {
<AceEditor mode="javascript" theme="github" name="name" />
}
}
I’ve tried everything I can come up with. Is there anyone who can help to solve this problem? Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Failed to execute 'createObjectURL' on 'URL': - Stack Overflow
createObjectURL ('broken') throws an error: Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature ...
Read more >Failed to execute 'createObjectURL' on 'URL': No function was ...
TypeError : Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided. #251. Open.
Read more >Failed to Execute 'createObjectURL' on 'URL': No Function ...
Uncaught TypeError: Failed to Execute 'createObjectURL' on 'URL': No Function Was Found That Matched the Signature Provided. I was stuck with the error...
Read more >Failed to execute 'createObjectURL' on 'URL' - Google Groups
Getting Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided. 1129 views.
Read more >TypeError: Failed to execute 'createObjectURL' on ... - YouTube
HTML : TypeError : Failed to execute ' createObjectURL ' on ' URL ': Overload resolution failed [ Beautify Your Computer ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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/
jest
andtesting-library/react
😦