➜ server markscript redeploy
{ [Error: todo-getAnswer: cannot process response with 500 status (on todo-getAnswer resource service)]
message: 'todo-getAnswer: cannot process response with 500 status (on todo-getAnswer resource service)',
statusCode: 500,
body:
{ errorResponse:
{ statusCode: 500,
status: 'Internal Server Error',
messageCode: 'INTERNAL ERROR',
message: 'XDMP-MODNOTTEXT: var extensionModule = require("/marklogic.rest.resource/todo-getAnswer -- Module /marklogic.rest.resource/todo-getAnswer/assets/resource.sjs is not a text document . See the MarkLogic server error log for further detail.' } } }
➜ server markscript redeploy { [Error: todo-getAnswer: cannot process response with 500 status (on todo-getAnswer resource service)] message: 'todo-getAnswer: cannot process response with 500 status (on todo-getAnswer resource service)', statusCode: 500, body: { errorResponse: { statusCode: 500, status: 'Internal Server Error', messageCode: 'INTERNAL ERROR', message: 'XDMP-MODNOTTEXT: var extensionModule = require("/marklogic.rest.resource/todo-getAnswer -- Module /marklogic.rest.resource/todo-getAnswer/assets/resource.sjs is not a text document . See the MarkLogic server error log for further detail.' } } }