WE use underscore on our site, and recently upgraded to node-orm2 2.1.15 with some immediate issues. It looks as though Utilities.js doesn't explicitly define the lodash variable and is therefore is causing issues with the cloneDeep function.
Change this:
_ = require('lodash')
To This:
var _ = require('lodash')
seems to do the trick. If you provide some instructions on how, I can provide a patch, or someone can make this change on our behalf.
WE use underscore on our site, and recently upgraded to node-orm2 2.1.15 with some immediate issues. It looks as though Utilities.js doesn't explicitly define the lodash variable and is therefore is causing issues with the cloneDeep function.
Change this:
To This:
seems to do the trick. If you provide some instructions on how, I can provide a patch, or someone can make this change on our behalf.
Thanks