nexrender: TypeError: `.matchAll` does not allow Script to execute when passed to Worker
Hi, I am passing JSX script while adding the job to the server.
let projectJson = {
"template": {
src: "file:///template.aepx",
"composition": "BLANK_COMP"
},
"assets": [{
src: ""file:///sampleParamInjection.jsx"",
"type": "script"
}]
}
const result = await client.addJob(projectJson)
But it gives the following error while passing the script.
TypeError: script.matchAll is not a function
at EnhancedScript.findMissingMatchesInJSX
Can you help me out Also I want to add settings to addJob functions, So is there any possibility to add settings to Job ?
Thanks π
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 19 (11 by maintainers)
yes,
1.17.3fixes the issue in my case! πPublished it as
1.17.3, @darshakgosar @itstheonlychris you can try it out, to see if that fixes it!Update:
I found out .matchAll() isnβt supported by older versions of Node. After updating from v10 to v12, it seems to fix the error!