- Newest
- Most votes
- Most comments
The errors you're encountering on the MTurk Sandbox worker screen indicate several issues with the JavaScript application:
-
React Development Build: The application is using a minified copy of the development build of React, which is not recommended for production. This can lead to slower performance and unnecessary warnings.
-
Module Build Error: There's an issue with the module build system, likely related to the Almond AMD loader. This suggests a problem with how the JavaScript modules are being bundled or loaded.
-
Syntax Error: An unexpected '&' token is causing a syntax error, which could be due to malformed HTML or JavaScript code.
-
Missing Component: The application is trying to load a React component called "CopyText" which cannot be found. This could be due to a missing import or incorrect path.
To address these issues:
- Ensure you're using the production build of React for deployment.
- Review your module bundling process and make sure all modules are correctly named and exported.
- Check your HTML and JavaScript for any syntax errors, particularly around line 26 of the main index file.
- Verify that all React components, especially "CopyText", are correctly imported and available.
- If you have access to the source code, review the implementation of the "mountComponents" function and ensure all required components are properly defined.
If you're a worker encountering these errors, it's best to report the issue to the MTurk team or the HIT requester, as these are likely problems with the application itself rather than something you can fix on your end.
Sources
errorType": "TypeError" "errorMessage": "Object.defineProperty called on non-object" | AWS re:Post
500 Error on launch for application that was previously working fine. | AWS re:Post
answered a year ago
I am not affiliated with the Mechanical Turk service and do not have permission to build sandboxes. I am asking this question because I encountered an error while using the sandbox service.
Relevant content
asked 4 years ago
- AWS OFFICIALUpdated 8 months ago

+1 Having the same problem with workersandbox