iisnode encountered an error when processing the request.

HRESULT: 0x6d
HTTP status: 500
HTTP subStatus: 1013
HTTP reason: Internal Server Error

You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.

In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.

The last 64k of the output generated by the node.exe process to stderr is shown below:

(node:15260) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
Deprecation warning: moment().add(period, number) is deprecated. Please use moment().add(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.
(node:15260) DeprecationWarning: collection.update is deprecated. Use updateOne, updateMany, or bulkWrite instead.
(node:15260) DeprecationWarning: Mongoose: `findOneAndUpdate()` and `findOneAndDelete()` without the `useFindAndModify` option set to false are deprecated. See: https://mongoosejs.com/docs/deprecations.html#-findandmodify-
Application has thrown an uncaught exception and is terminated:
TypeError: Cannot read property 'capacity' of undefined
    at C:\Program Files\iisnode\www\creativecalm\routes\router.js:1263:29
    at C:\Program Files\iisnode\www\creativecalm\node_modules\mongoose\lib\model.js:4828:16
    at C:\Program Files\iisnode\www\creativecalm\node_modules\mongoose\lib\helpers\promiseOrCallback.js:24:16
    at C:\Program Files\iisnode\www\creativecalm\node_modules\mongoose\lib\model.js:4851:21
    at _hooks.execPost (C:\Program Files\iisnode\www\creativecalm\node_modules\mongoose\lib\query.js:4365:11)
    at C:\Program Files\iisnode\www\creativecalm\node_modules\kareem\index.js:135:16
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)