You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let batch = new nach.Batch({
serviceClassCode: '220', // 200 ceb and deb, 220 credit only, 225 debit only
companyName: 'XXXXXX',
standardEntryClassCode: 'CCD', // PPD consumer, CCD or CTX business
companyIdentification: XXXXX, // FEIN
companyEntryDescription: 'Safe deposit',
companyDescriptiveDate: moment(nach.Utils.computeBusinessDay(0)).format('MMM D'),
effectiveEntryDate: nach.Utils.computeBusinessDay(0),
originatingDFI:XXXX // first 8 digits of routing
});
no gbox
ADDD moment("2018-07-01T02:11:45.274") 0
/home/ubuntu/emailparse/node_modules/moment/moment.js:2618
if ((isObject(input) && isObjectEmpty(input)) ||
^
--- ERROR
RangeError: Maximum call stack size exceeded
at createLocalOrUTC (/home/ubuntu/emailparse/node_modules/moment/moment.js:2618:33)
at createLocal (/home/ubuntu/emailparse/node_modules/moment/moment.js:2635:16)
at hooks (/home/ubuntu/emailparse/node_modules/moment/moment.js:12:29)
at module.exports.isBusinessDay (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:137:11)
at addDays (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:149:9)
at addDays (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:152:56)
at addDays (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:152:56)
at addDays (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:152:56)
at addDays (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:152:56)
at addDays (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:152:56)
--- STACK TRACE before error
(node:21243) ExperimentalWarning: The ESM module loader is experimental.
CONN Database { open: true, filename: 'trans.sqlite', mode: 2 } undefined
MAIL Sun Jul 01 2018 03:23:00 GMT+0000 (Coordinated Universal Time) 570
no gbox
day, counter. businessDays moment("2018-07-01T03:23:00.936") 0 0
Error
at Object.module.exports.computeBusinessDay (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:146:14)
at nachFile (file:///home/ubuntu/emailparse/nach.mjs:25:47)
at depositInsert (file:///home/ubuntu/emailparse/msg.mjs:58:16)
at handleMsg (file:///home/ubuntu/emailparse/msg.mjs:219:7)
at EventEmitter. (file:///home/ubuntu/emailparse/index.mjs:105:9)
at Object.onceWrapper (events.js:273:13)
at EventEmitter.emit (events.js:182:13)
at /home/ubuntu/emailparse/node_modules/imap/lib/Connection.js:1470:22
at process._tickCallback (internal/process/next_tick.js:61:11)
LOOP moment("2018-07-01T03:23:00.936") 0
LOOP moment("2018-07-02T03:23:00.936") 1
LOOP moment("2018-07-03T03:23:00.936") 2
LOOP moment("2018-07-04T03:23:00.936") 3
LOOP moment("2018-07-05T03:23:00.936") 4
The text was updated successfully, but these errors were encountered:
--- CODE
let batch = new nach.Batch({
serviceClassCode: '220', // 200 ceb and deb, 220 credit only, 225 debit only
companyName: 'XXXXXX',
standardEntryClassCode: 'CCD', // PPD consumer, CCD or CTX business
companyIdentification: XXXXX, // FEIN
companyEntryDescription: 'Safe deposit',
companyDescriptiveDate: moment(nach.Utils.computeBusinessDay(0)).format('MMM D'),
effectiveEntryDate: nach.Utils.computeBusinessDay(0),
originatingDFI:XXXX // first 8 digits of routing
});
no gbox
ADDD moment("2018-07-01T02:11:45.274") 0
/home/ubuntu/emailparse/node_modules/moment/moment.js:2618
if ((isObject(input) && isObjectEmpty(input)) ||
^
--- ERROR
RangeError: Maximum call stack size exceeded
at createLocalOrUTC (/home/ubuntu/emailparse/node_modules/moment/moment.js:2618:33)
at createLocal (/home/ubuntu/emailparse/node_modules/moment/moment.js:2635:16)
at hooks (/home/ubuntu/emailparse/node_modules/moment/moment.js:12:29)
at module.exports.isBusinessDay (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:137:11)
at addDays (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:149:9)
at addDays (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:152:56)
at addDays (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:152:56)
at addDays (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:152:56)
at addDays (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:152:56)
at addDays (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:152:56)
--- STACK TRACE before error
(node:21243) ExperimentalWarning: The ESM module loader is experimental.
CONN Database { open: true, filename: 'trans.sqlite', mode: 2 } undefined
MAIL Sun Jul 01 2018 03:23:00 GMT+0000 (Coordinated Universal Time) 570
no gbox
day, counter. businessDays moment("2018-07-01T03:23:00.936") 0 0
Error
at Object.module.exports.computeBusinessDay (/home/ubuntu/emailparse/node_modules/node-nach/lib/utils.js:146:14)
at nachFile (file:///home/ubuntu/emailparse/nach.mjs:25:47)
at depositInsert (file:///home/ubuntu/emailparse/msg.mjs:58:16)
at handleMsg (file:///home/ubuntu/emailparse/msg.mjs:219:7)
at EventEmitter. (file:///home/ubuntu/emailparse/index.mjs:105:9)
at Object.onceWrapper (events.js:273:13)
at EventEmitter.emit (events.js:182:13)
at /home/ubuntu/emailparse/node_modules/imap/lib/Connection.js:1470:22
at process._tickCallback (internal/process/next_tick.js:61:11)
LOOP moment("2018-07-01T03:23:00.936") 0
LOOP moment("2018-07-02T03:23:00.936") 1
LOOP moment("2018-07-03T03:23:00.936") 2
LOOP moment("2018-07-04T03:23:00.936") 3
LOOP moment("2018-07-05T03:23:00.936") 4
The text was updated successfully, but these errors were encountered: